Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
792fbb85
Commit
792fbb85
authored
Aug 18, 2016
by
Pascal Dreissen
Browse files
Regression in .js need to update ;)
parent
7e254331
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/themes/default/assets/javascripts/ispconfig.js
View file @
792fbb85
...
...
@@ -537,7 +537,7 @@ var ISPConfig = {
if
(
addTplId
>
0
)
{
var
newVal
=
tpl_add
.
split
(
'
/
'
);
ISPConfig
.
new_tpl_add_id
+=
1
;
var
delbtn
=
$
(
'
<a href="#"><span class="glyphicon glyphicon-remove-circle" aria-hidden="true"></span></a>
'
).
attr
(
'
class
'
,
'
btn btn-danger btn-xs
'
).
click
(
function
(
e
)
{
var
delbtn
=
$
(
'
<a href="#"><span class="glyphicon glyphicon-remove-circle" aria-hidden="true"></span></a>
'
).
attr
(
'
class
'
,
'
btn btn-danger btn-xs
'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
ISPConfig
.
delAdditionalTemplate
(
$
(
this
).
parent
().
attr
(
'
rel
'
));
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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