From 35bbf90f0fb6fefd43e004795d115c6616b00de6 Mon Sep 17 00:00:00 2001 From: vgilc Date: Thu, 5 Jun 2014 10:21:36 +0000 Subject: [PATCH] 2014-06-05 Vanessa Gil * godmode/gis_maps/configure_gis_maps.php: Changed button when you update. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/gis_maps/configure_gis_map.php | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 470188be87..71b6d50129 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-06-05 Vanessa Gil + + * godmode/gis_maps/configure_gis_maps.php: Changed + button when you update. + 2014-06-05 Sergio Martin * extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql diff --git a/pandora_console/godmode/gis_maps/configure_gis_map.php b/pandora_console/godmode/gis_maps/configure_gis_map.php index 907ef2dbe2..cf61b9e4ff 100644 --- a/pandora_console/godmode/gis_maps/configure_gis_map.php +++ b/pandora_console/godmode/gis_maps/configure_gis_map.php @@ -379,12 +379,7 @@ switch ($action) { case 'save_new': case 'edit_map': case 'update_saved': - if (!empty($invalidFields)) { - html_print_submit_button(_('Save map'), 'save_button', false, 'class="sub wand"'); - } - else { - html_print_submit_button(_('Update map'), 'update_button', false, 'class="sub upd"'); - } + html_print_submit_button(_('Update map'), 'update_button', false, 'class="sub upd"'); break; case 'new_map': html_print_submit_button(_('Save map'), 'save_button', false, 'class="sub wand"');