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

@ -756,8 +756,8 @@ function addOption(id,label,value,do_onchange)
/**
* Install click handlers for popup and multiple triggers of uiaccountselection
*/
$j(function(){
$j(document).on('click', '.uiaccountselection_trigger',function(){
jQuery(function(){
jQuery(document).on('click', '.uiaccountselection_trigger',function(){
var selectBox = document.getElementById(this.id.replace(/(_multiple|_popup)$/, ''));
if (selectBox)
{
@ -773,7 +773,7 @@ $j(function(){
selectBox.multiple = true;
if (selectBox.options[0].value=='') selectBox.options[0] = null;
if (!$j(selectBox).hasClass('groupmembers') && !$j(selectBox).hasClass('selectbox')) // no popup!
if (!jQuery(selectBox).hasClass('groupmembers') && !jQuery(selectBox).hasClass('selectbox')) // no popup!
{
this.src = egw.image('search');
this.title = egw.lang('Search accounts');
@ -786,7 +786,7 @@ $j(function(){
}
}
});
$j(document).on('change', 'select.uiaccountselection',function(e){
jQuery(document).on('change', 'select.uiaccountselection',function(e){
if (this.value == 'popup')
{
var link = this.getAttribute('data-popup-link');