Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit afc6c4d

Browse files
committed
Fix login header in multi mode.
Remove login_patch.xml that was not used anymore
1 parent 97bab8c commit afc6c4d

File tree

2 files changed

+7
-114
lines changed

2 files changed

+7
-114
lines changed

core/src/plugins/auth.multi/login_patch.xml

Lines changed: 0 additions & 113 deletions
This file was deleted.

core/src/plugins/auth.multi/manifest.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,16 @@
112112
connexion.addParameter('captcha_code', oForm.captcha_code.value);
113113
}
114114
connexion.onComplete = function(transport){
115-
ajaxplorer.actionBar.parseXmlMessage(transport.responseXML);
115+
var success = ajaxplorer.actionBar.parseXmlMessage(transport.responseXML);
116116
if(XPathGetSingleNodeText(transport.responseXML.documentElement, "logging_result/@value") == "-4"){
117117
ajaxplorer.loadSeedOrCaptcha(oForm.down('#login_seed'), oForm.down('img#captcha_image'), oForm.down('div.dialogLegend'), 'before');
118118
}
119+
if(success){
120+
$("generic_dialog_box").down(".dialogTitle").writeAttribute("style", "");
121+
oForm.up('.dialogContent').writeAttribute("style", "");
122+
$("generic_dialog_box").select("#progressCustomMessage").invoke("remove");
123+
}
124+
119125
};
120126
connexion.setMethod('put');
121127
document.observeOnce("ajaxplorer:user_logged", function(){

0 commit comments

Comments
 (0)