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

@ -217,7 +217,7 @@ egw.extend('utils', egw.MODULE_GLOBAL, function()
* @see http://www.foliotek.com/devblog/getting-the-width-of-a-hidden-element-with-jquery-using-width/
*/
getHiddenDimensions: function(element, boolOuter) {
var $item = $j(element);
var $item = jQuery(element);
var props = { position: "absolute", visibility: "hidden", display: "block" };
var dim = { "w":0, "h":0 , "left":0, "top":0};
var $hiddenParents = $item.parents().andSelf().not(":visible");
@ -228,7 +228,7 @@ egw.extend('utils', egw.MODULE_GLOBAL, function()
for ( var name in props ) {
old[ name ] = this.style[ name ];
}
$j(this).show();
jQuery(this).show();
oldProps.push(old);
});