Update to get edit city cancel button to work.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 11 Aug 2017 20:19:23 +0000 (16:19 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 11 Aug 2017 20:19:23 +0000 (16:19 -0400)
Update the id used for the editCityCancel button.

views/admin/settings/cities.html

index 879c8e2..c822014 100644 (file)
@@ -29,7 +29,7 @@
         </center>
     </div>
 
-    <!-- Edit City Dialog Box -->                    
+    <!-- Edit City Dialog Box -->
     <div id="editCityDialog" class="glm-dialog-box" title="Edit this City">
         <form action="{$thisUrl}?page={$thisPage}" method="post" enctype="multipart/form-data">
             <input type="hidden" name="glm_action" value="cities">
                 </tr>
             </table>
             <p><span class="glm-required">*</span> Required</p>
-            <a id="newCityCancel" class="button button-primary glm-right">Cancel</a>
+            <a id="editCityCancel" class="button button-primary glm-right">Cancel</a>
             <input type="submit" value="Update this City" class="button button-primary">
         </form>
     </div>
-    
+
     <h2>Cities</h2>
 
     <table class="wp-list-table widefat fixed posts glm-admin-table"">
@@ -62,7 +62,7 @@
 {if $haveCities}
     {assign var="i" value="0"}
     {foreach $cities as $t}
-        {if $i++ is odd by 1} 
+        {if $i++ is odd by 1}
             <tr>
         {else}
             <tr class="alternate">
@@ -83,7 +83,7 @@
 
     <script type="text/javascript">
         jQuery(document).ready(function($) {
-               
+
             $("#newCityDialog").dialog({
                autoOpen: false,
                minWidth: 400,
 
         });
     </script>
-            
+
 {include file='admin/footer.html'}