Commit 8823d491 authored by mcramer's avatar mcramer

Fixed: Tab change did not work for clients if web was created by admin

parent 7e48bdf4
......@@ -231,12 +231,8 @@
}
<tmpl_if name="readonly_tab">
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').attr('disabled', 'disabled');
jQuery('div.tabbox_tabs').find('a').click(function() {
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').removeAttr('disabled');
});
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').click(function(e) { e.preventDefault(); }).focus(function() { $(this).blur(); });
jQuery('#dom-edit-submit').click(function() {
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').removeAttr('disabled');
submitForm('pageForm','sites/web_domain_edit.php');
});
<tmpl_else>
......
......@@ -205,12 +205,8 @@
}
<tmpl_if name="readonly_tab">
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').attr('disabled', 'disabled');
jQuery('div.tabbox_tabs').find('a').click(function() {
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').removeAttr('disabled');
});
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').click(function(e) { e.preventDefault(); }).focus(function() { $(this).blur(); });
jQuery('#dom-edit-submit').click(function() {
jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').removeAttr('disabled');
submitForm('pageForm','sites/web_vhost_subdomain_edit.php');
});
<tmpl_else>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment