From 2778c9ea730cee72dccbaf14e08b12c1bf8257db Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Tue, 13 Jan 2015 10:51:04 -0500
Subject: [PATCH] - cleaned up javascript - removed most static content from scrigo

---
 interface/web/client/templates/client_edit_limits.htm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface/web/client/templates/client_edit_limits.htm b/interface/web/client/templates/client_edit_limits.htm
index 9d3eda9..b0dc73c 100644
--- a/interface/web/client/templates/client_edit_limits.htm
+++ b/interface/web/client/templates/client_edit_limits.htm
@@ -8,7 +8,7 @@
         <div class="pnl_toolsarea">
             <p class="fieldset-legend">{tmpl_var name="toolsarea_head_txt"}</p>
                 <div class="buttons topbuttons">
-                    <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='add_additional_template_txt'}" onclick="addAdditionalTemplate();">{tmpl_var name='add_additional_template_txt'}</button>
+                    <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='add_additional_template_txt'}" onclick="ISPConfig.addAdditionalTemplate();">{tmpl_var name='add_additional_template_txt'}</button>
                 </div>
             
         </div>
@@ -302,7 +302,7 @@
 
 $('#template_additional_list').find('li > a').click(function(e) {
     e.preventDefault();
-    delAdditionalTemplate($(this).parent().attr('rel'));
+    ISPConfig.delAdditionalTemplate($(this).parent().attr('rel'));
 });
 
 $('div.panel_client')

--
Gitblit v1.9.1