change summernote to bs5
This commit is contained in:
File diff suppressed because one or more lines are too long
+7
-6
@@ -68,7 +68,7 @@ var FoniaJS = {
|
||||
setTimeout(function(){self.location = FoniaJS.WEB_PATH;}, 1600);
|
||||
return false;
|
||||
}
|
||||
if (apop.php == "") {
|
||||
if (apop.php == "" || !window[apop.func]) {
|
||||
this.showErrorLocale("Fonia.page404");
|
||||
return false;
|
||||
}
|
||||
@@ -1083,16 +1083,17 @@ if (jQuery.fn.dataTable) {
|
||||
return moment(val, "DD.MM.YY HH:mm:ss").format("X");
|
||||
});
|
||||
}
|
||||
jQuery.fn.dataTable.ext.order['dom-select'] = function( settings, col ){
|
||||
return this.api().column( col, {order:'index'} ).nodes().map( function( td, i ){
|
||||
return $('select', td).val();
|
||||
});
|
||||
}
|
||||
jQuery.fn.dataTable.ext.order['dom-checkbox'] = function( settings, col ){
|
||||
return this.api().column( col, {order:'index'} ).nodes().map( function( td, i ){
|
||||
return $('input', td).prop('checked') ? '1' : '0';
|
||||
});
|
||||
}
|
||||
jQuery.fn.dataTable.ext.order['dom-select-zerolast'] = function( settings, col ){
|
||||
return this.api().column( col, {order:'index'} ).nodes().map( function( td, i ){
|
||||
var _val = $('select', td).val();
|
||||
return (_val==0) ? Number.MAX_SAFE_INTEGER : _val;
|
||||
});
|
||||
}
|
||||
jQuery.extend(jQuery.fn.dataTable.ext.classes, {
|
||||
sLengthSelect: "form-select text-center",
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user