Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
8e0d3660
Commit
8e0d3660
authored
Aug 18, 2012
by
mcramer
Browse files
Bugfix: Disabled form elements are not submitted, enabling them again on tab click
parent
97f5c2d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/templates/web_domain_edit.htm
View file @
8e0d3660
...
...
@@ -233,6 +233,9 @@
<
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
'
);
});
<
/tmpl_if
>
</script>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment