OSDN Git Service

change function _ajax_alert_on -> show_alert_msg
authorJunichi Shinohara <shinohara@karesansui-project.info>
Thu, 10 Jun 2010 06:40:47 +0000 (15:40 +0900)
committerJunichi Shinohara <shinohara@karesansui-project.info>
Thu, 10 Jun 2010 06:40:47 +0000 (15:40 +0900)
karesansui/templates/default/guestby1device/guestby1device.part
karesansui/templates/default/hostby1firewall/hostby1firewall.part
karesansui/templates/default/hostby1networksettings/hostby1networksettings.part

index 5e5f155..a0d6d4b 100644 (file)
@@ -72,7 +72,7 @@ $("#device_tab td").each(function(){
                 tool_invalid("#delete_device");
                 break;
             default:
-                _ajax_alert_on("ERROR", "${_('Received an unexpected value.')}");
+                show_alert_msg("${_('Received an unexpected value.')}", "ERROR");
         }
         // icon active
         $("#device_tab td").each(function(){
index 1def267..7cc17d6 100644 (file)
@@ -168,7 +168,7 @@ $(document).ready(function(){
                     });
                     break;
                 default:
-                    _ajax_alert_on("ERROR", "${_('Received an unexpected value.')}");
+                    show_alert_msg("${_('Received an unexpected value.')}", "ERROR");
             }
             // icon active
             $("#firewall_tab td").each(function(){
index 229225f..e495912 100644 (file)
@@ -67,7 +67,7 @@ $(document).ready(function(){
                     }
                     break;
                 default:
-                    _ajax_alert_on("ERROR", "${_('Received an unexpected value.')}");
+                    show_alert_msg("${_('Received an unexpected value.')}", "ERROR");
             }
             // icon active
             $("#device_tab td.device_active").removeClass("device_active");