mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
* Mobile view: fix broken Security & Password menu
This commit is contained in:
parent
36c6df9685
commit
cb2fe3f93c
@ -1351,8 +1351,8 @@ abstract class Framework extends Framework\Extra
|
|||||||
'id' => 'password',
|
'id' => 'password',
|
||||||
'name' => 'preferences',
|
'name' => 'preferences',
|
||||||
'title' => lang($types[$type]['title']),
|
'title' => lang($types[$type]['title']),
|
||||||
'url' => "javascript:egw.open_link('".
|
'url' => 'javascript:egw.open_link("'.
|
||||||
self::link('/index.php?menuaction=preferences.preferences_password.change')."','_blank','850x580')",
|
self::link('/index.php?menuaction=preferences.preferences_password.change').'","_blank","850x580")',
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -1128,7 +1128,7 @@ import {tapAndSwipe} from "../../api/js/tapandswipe";
|
|||||||
if (matches.length > 1 && matches[2] !== undefined)
|
if (matches.length > 1 && matches[2] !== undefined)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
args = JSON.parse('['+matches[2]+']');
|
args = JSON.parse('['+decodeURI(matches[2])+']');
|
||||||
}
|
}
|
||||||
catch(e) { // deal with '-encloded strings (JSON allows only ")
|
catch(e) { // deal with '-encloded strings (JSON allows only ")
|
||||||
args = JSON.parse('['+matches[2].replace(/','/g, '","').replace(/((^|,)'|'(,|$))/g, '$2"$3')+']');
|
args = JSON.parse('['+matches[2].replace(/','/g, '","').replace(/((^|,)'|'(,|$))/g, '$2"$3')+']');
|
||||||
|
Loading…
Reference in New Issue
Block a user