Parcourir la source

added collapse, expand & toggleMaximize to run via js script

REJack il y a 5 ans
Parent
commit
fe693889dd

+ 1 - 1
build/js/Widget.js

@@ -170,7 +170,7 @@ const Widget = (($) => {
           $(this).data(DATA_KEY, typeof config === 'string' ? data : config)
         }
 
-        if (typeof config === 'string' && config.match(/remove|toggle/)) {
+        if (typeof config === 'string' && config.match(/collapse|expand|remove|toggle|toggleMaximize/)) {
           data[config]()
         } else if (typeof config === 'object') {
           data._init($(this))

+ 1 - 1
dist/js/adminlte.js

@@ -1051,7 +1051,7 @@
             $(this).data(DATA_KEY, typeof config === 'string' ? data : config);
           }
 
-          if (typeof config === 'string' && config.match(/remove|toggle/)) {
+          if (typeof config === 'string' && config.match(/remove|toggle|toggleMaximize/)) {
             data[config]();
           } else if (typeof config === 'object') {
             data._init($(this));

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/js/adminlte.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/js/adminlte.min.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/js/adminlte.min.js.map


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff