Fix bug in link handling that lost extra vars when extra vars are already in url

This commit is contained in:
Nathan Gray 2013-02-06 15:04:26 +00:00
parent 868614fd23
commit 5513df1277

View File

@ -273,7 +273,8 @@ egw.extend('links', egw.MODULE_GLOBAL, function() {
} }
else else
{ {
if (othervars) _extravars += (_extravars?'&':'').othervars; if (!_extravars) _extravars = '';
if (othervars) _extravars += (_extravars?'&':'')+othervars;
} }
// parse extravars string into the vars array // parse extravars string into the vars array