From f038c0a4cecc7a7a56b6d175c3ec42c1f80a4ac7 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 13 Feb 2012 09:00:09 -0500 Subject: [PATCH] Implemented: FS#2024 - Sanity check zones with named-checkzone --- interface/web/js/scrigo.js.php | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php index ecfcf83..f8da538 100644 --- a/interface/web/js/scrigo.js.php +++ b/interface/web/js/scrigo.js.php @@ -101,7 +101,7 @@ } -function submitForm(formname,target) { +function submitForm(formname,target) { var submitFormObj = jQuery.ajax({ type: "POST", url: target, data: jQuery('#'+formname).serialize(), @@ -269,6 +269,12 @@ } } +function confirm_action(link,confirmation) { + if(window.confirm(confirmation)) { + loadContent(link); + } +} + function loadContentInto(elementid,pagename) { var pageContentObject2 = jQuery.ajax({ type: "GET", url: pagename, -- Gitblit v1.9.1