From 45bc378b77aa6dddc7f157eb812b87c93fe23299 Mon Sep 17 00:00:00 2001
From: ochorocho <rothjochen@gmail.com>
Date: Sun, 12 Oct 2014 10:12:49 -0400
Subject: [PATCH] add changes to fire JS event again, add JS to enable toggle on client_edit_limits again
---
interface/web/client/templates/client_edit_limits.htm | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/interface/web/client/templates/client_edit_limits.htm b/interface/web/client/templates/client_edit_limits.htm
index 94f31a2..2d40fc4 100644
--- a/interface/web/client/templates/client_edit_limits.htm
+++ b/interface/web/client/templates/client_edit_limits.htm
@@ -326,12 +326,16 @@
return ($('#template_master').val() == '0' ? true : false);
}
-jQuery('#template_additional_list').find('li > a').click(function(e) {
+$('.subsectiontoggle').on("click", function(){
+ $(this).children().toggleClass('showing').end().next().slideToggle();
+});
+
+$('#template_additional_list').find('li > a').click(function(e) {
e.preventDefault();
delAdditionalTemplate($(this).parent().attr('rel'));
});
-jQuery('div.panel_client')
+$('div.panel_client')
.find('div.pnl_formsarea')
.find('fieldset')
.find('input,select,button')
--
Gitblit v1.9.1