fix double url encoding stalling calling off clases with namespaces because backslash is url-encoded twice

This commit is contained in:
Ralf Becker 2016-05-16 15:26:25 +02:00
parent 1bcab9b33a
commit 349b3a4b9c

View File

@ -307,7 +307,8 @@ app.classes.admin = AppJS.extend(
} }
else if (link[0] == '/' || link.substr(0,4) == 'http') else if (link[0] == '/' || link.substr(0,4) == 'http')
{ {
this.load(egw.link(link,'nonavbar=1')); link += (link.indexOf('?') >= 0 ? '&' : '?')+'nonavbar=1';
this.load(link);
} }
else if (link.substr(0,11) == 'javascript:') else if (link.substr(0,11) == 'javascript:')
{ {