extra
This commit is contained in:
parent
a5c35d11b7
commit
4b6e53cc46
|
@ -1,4 +1,8 @@
|
|||
|
||||
<?php
|
||||
/*
|
||||
*
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="box">
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
<?php
|
||||
/*
|
||||
*
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="box">
|
||||
|
||||
|
|
|
@ -41,19 +41,6 @@ var global_load = null;
|
|||
}
|
||||
}
|
||||
function event(where) {
|
||||
/* Hotfix Ticket: 215*/
|
||||
$(where + ' img').each(function() {
|
||||
$(this).attr('src', $(this).attr('src') + '?' + (new Date()).getTime());
|
||||
});
|
||||
|
||||
$("#alert .alert").alert();
|
||||
$(where + ' textarea').wysihtml5();
|
||||
$(where + ' select').each(function() {
|
||||
$(this).select2({allowClear: true});
|
||||
});
|
||||
$(where + ' .dropdown-toggle').dropdown();
|
||||
$(where + " a").tooltip();
|
||||
;
|
||||
$(where + " a").not('[href*="mailto:"]').each(function(that) {
|
||||
if ($(this).attr("rel") !== "external" && $(this).attr("ref") !== "eventOff" && !$(this).parents('ul').hasClass("wysihtml5-toolbar") && !$(this).hasClass(".select2-choice"))
|
||||
$(this).click(function(e) {
|
||||
|
@ -124,7 +111,9 @@ var global_load = null;
|
|||
if (!see && $(this).attr("data") != "set") {
|
||||
$(this).attr("data", "set");
|
||||
$("tr", that).removeClass("new");
|
||||
console.log(newRow);
|
||||
$(that).append("<tr class=\"new\">" + newRow + "</tr>");
|
||||
event("form.tableForm tbody tr.new");
|
||||
evet();
|
||||
}
|
||||
});
|
||||
|
@ -140,6 +129,19 @@ var global_load = null;
|
|||
}
|
||||
evet();
|
||||
});
|
||||
|
||||
|
||||
$(where + ' img').each(function() {
|
||||
$(this).attr('src', $(this).attr('src') + '?' + (new Date()).getTime());
|
||||
});
|
||||
|
||||
$("#alert .alert").alert();
|
||||
$(where + ' textarea').wysihtml5();
|
||||
$(where + ' select').each(function() {
|
||||
$(this).select2({allowClear: true});
|
||||
});
|
||||
$(where + ' .dropdown-toggle').dropdown();
|
||||
$(where + " a").tooltip();
|
||||
}
|
||||
function setContent(data, back, tab, backignore) {
|
||||
title = data.split('<title>')[1].split('</title>')[0];
|
||||
|
|
Loading…
Reference in New Issue