Commit 792fbb85 authored by Pascal Dreissen's avatar Pascal Dreissen
Browse files

Regression in .js need to update ;)

parent 7e254331
...@@ -537,7 +537,7 @@ var ISPConfig = { ...@@ -537,7 +537,7 @@ var ISPConfig = {
if(addTplId > 0) { if(addTplId > 0) {
var newVal = tpl_add.split('/'); var newVal = tpl_add.split('/');
ISPConfig.new_tpl_add_id += 1; ISPConfig.new_tpl_add_id += 1;
var delbtn = $('&nbsp;<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(); e.preventDefault();
ISPConfig.delAdditionalTemplate($(this).parent().attr('rel')); ISPConfig.delAdditionalTemplate($(this).parent().attr('rel'));
}); });
......
Supports Markdown
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