Deprecate $j global variable and replace them all with standard jQuery

This commit is contained in:
Hadi Nategh
2016-06-02 16:51:15 +02:00
parent d47e4889dc
commit 87fb94a496
103 changed files with 1123 additions and 1123 deletions

View File

@@ -76,7 +76,7 @@ app.classes.filemanager = AppJS.extend(
{
this.path_widget[et2.DOMContainer.id] = path_widget;
// Bind to removal to remove from list
$j(et2.DOMContainer).on('clear', function(e) {
jQuery(et2.DOMContainer).on('clear', function(e) {
if (app.filemanager && app.filemanager.path_widget) delete app.filemanager.path_widget[e.target.id];
});
}
@@ -629,7 +629,7 @@ app.classes.filemanager = AppJS.extend(
}
// Multiple file download for those that support it
a = $j(a)
a = jQuery(a)
.prop('href', url)
.prop('download', data ? data.data.name : "")
.appendTo(this.et2.getDOMNode());