mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 23:08:53 +01:00
No longer need to send ajax=true at the end of url
This commit is contained in:
parent
c0e347c155
commit
a8c136f1cc
@ -331,10 +331,6 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
|
||||
// if there are vars, we add them urlencoded to the url
|
||||
var query = [];
|
||||
|
||||
// If ajax flag is there, it must be the last one
|
||||
var ajax = vars.ajax || false;
|
||||
delete vars.ajax;
|
||||
|
||||
for(var name in vars)
|
||||
{
|
||||
var val = vars[name] || ''; // fix error for eg. null, which is an object!
|
||||
@ -351,11 +347,6 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
|
||||
}
|
||||
}
|
||||
|
||||
// Add ajax flag at the end
|
||||
if(ajax)
|
||||
{
|
||||
query.push('ajax='+encodeURIComponent(ajax));
|
||||
}
|
||||
return query.length ? _url+'?'+query.join('&') : _url;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user