mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 05:58:46 +02:00
Improve dataTables integration within the app:
- Manage lib through NPM - Move portal / Bootstrap files back to the itop-portal-base module (not managed through NPM yet) - Fix SCSS classes for the backoffice as it was based on the bootstrap CSS classes which are not there anymore Note: jQuery is included as a dependency, will check with the team if we can force it not to be retrieved
This commit is contained in:
22
node_modules/jquery/src/manipulation/setGlobalEval.js
generated
vendored
Normal file
22
node_modules/jquery/src/manipulation/setGlobalEval.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
define( [
|
||||
"../data/var/dataPriv"
|
||||
], function( dataPriv ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// Mark scripts as having already been evaluated
|
||||
function setGlobalEval( elems, refElements ) {
|
||||
var i = 0,
|
||||
l = elems.length;
|
||||
|
||||
for ( ; i < l; i++ ) {
|
||||
dataPriv.set(
|
||||
elems[ i ],
|
||||
"globalEval",
|
||||
!refElements || dataPriv.get( refElements[ i ], "globalEval" )
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return setGlobalEval;
|
||||
} );
|
||||
Reference in New Issue
Block a user