Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reformat the shared field when canceling the district details. Fixes #…

  • Loading branch information...
commit 6b3e651b06173c93d67b57d0e0466885c1da418f 1 parent a71f941
David Zwarg authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 django/publicmapping/redistricting/static/js/chooseplan.js
View
6 django/publicmapping/redistricting/static/js/chooseplan.js
@@ -575,6 +575,12 @@ chooseplan = function(options) {
});
_cancelButton.button().click( function() {
_table.jqGrid('GridToForm', _selectedPlanId, '#plan_form');
+ var shared = $('#is_shared');
+ if (shared.val().contains("unshared")) {
+ shared.val('No');
+ } else {
+ shared.val('Yes');
+ }
editState('view');
return false;
});
Please sign in to comment.
Something went wrong with that request. Please try again.