From 9f020a1cb9f7f288b5411328870780193356eaa0 Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 20 May 2014 11:58:46 +0200 Subject: [PATCH] =?UTF-8?q?[fix]=C2=A0Add=20disableAjax=20class=20on=20eve?= =?UTF-8?q?ry=20panel=20link.=20Fix=20PhpMyAdmin=20behavior.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portal/assets/js/ynhpanel.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/portal/assets/js/ynhpanel.js b/portal/assets/js/ynhpanel.js index 9b40b18..d9c5292 100644 --- a/portal/assets/js/ynhpanel.js +++ b/portal/assets/js/ynhpanel.js @@ -133,6 +133,7 @@ domReady(function(){ var portal = document.createElement('a'); portal.setAttribute('id', 'ynhportal'); portal.setAttribute('href', '/yunohost/sso/'); + portal.setAttribute('class', 'disableAjax'); document.body.insertBefore(portal, null); // Create overlay element @@ -157,9 +158,9 @@ domReady(function(){ response = JSON.parse(r.responseText); // Add overlay header - overlay.innerHTML += '
' + - ''+ - '' + + overlay.innerHTML += '