Initial commit
This commit is contained in:
commit
65e0da7e11
1397 changed files with 596542 additions and 0 deletions
17
site/OFF_plugins/field-engineer/assets/js/toggleActive.js
Normal file
17
site/OFF_plugins/field-engineer/assets/js/toggleActive.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
var EgrToggleActive = (function () {
|
||||
var fn = {};
|
||||
|
||||
fn.toggle = function(obj, this_obj) {
|
||||
if(this_obj.hasClass('egr-delete-active')) return;
|
||||
|
||||
obj.find('.egr-actions').hide();
|
||||
this_obj.children('.egr-actions').css('display', 'flex');
|
||||
EgrSort.toggle(obj, this_obj);
|
||||
};
|
||||
|
||||
fn.remove = function(obj, this_obj) {
|
||||
obj.find('.egr-actions').hide();
|
||||
};
|
||||
|
||||
return fn;
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue