提交 7ecf5cb9 编写于 作者: U unknown

修复论坛修改密码显示异常的问题

上级 f262705e
......@@ -1109,35 +1109,74 @@ MWF.xApplication.ForumDocument.Main = new Class({
} );
selector.load();
},
openLoginForm : function( callback ){
//MWF.xDesktop.requireApp("Forum", "Login", null, false);
//var login = new MWF.xApplication.Forum.Login(this, {
// onPostOk : function(){ if(callback)callback() }
//});
//login.openLoginForm();
// openLoginForm : function( callback ){
// //MWF.xDesktop.requireApp("Forum", "Login", null, false);
// //var login = new MWF.xApplication.Forum.Login(this, {
// // onPostOk : function(){ if(callback)callback() }
// //});
// //login.openLoginForm();
// MWF.require("MWF.xDesktop.Authentication", null, false);
// var authentication = new MWF.xDesktop.Authentication({
// style : "application",
// onPostOk : function(){ if(callback)callback() }
// },this);
// authentication.openLoginForm({
// hasMask : true
// });
// },
// openSignUpForm : function(callback){
// //MWF.xDesktop.requireApp("Forum", "Login", null, false);
// //var login = new MWF.xApplication.Forum.Login(this, {
// // onPostOk : function(){ if(callback)callback() }
// //});
// //login.openSignUpForm();
// MWF.require("MWF.xDesktop.Authentication", null, false);
// var authentication = new MWF.xDesktop.Authentication({
// style : "application",
// onPostOk : function(){ if(callback)callback() }
// },this);
// authentication.openSignUpForm({
// hasMask : true
// });
// },
openLoginForm : function(){
MWF.require("MWF.xDesktop.Authentication", null, false);
var authentication = new MWF.xDesktop.Authentication({
style : "application",
onPostOk : function(){ if(callback)callback() }
"style" : "flat",
"popupStyle_password": "o2platformSignupFlat",
onPostOk : function(){
if(callback)callback()
}
},this);
authentication.openLoginForm({
hasMask : true
});
authentication.popupOptions = {
"draggable": true,
"closeAction": true,
"hasMask": true,
"relativeToApp": true,
"width": "420",
"height": "640"
};
// authentication.loadLogin(this.app.content);
authentication.openLoginForm();
},
openSignUpForm : function(callback){
//MWF.xDesktop.requireApp("Forum", "Login", null, false);
//var login = new MWF.xApplication.Forum.Login(this, {
// onPostOk : function(){ if(callback)callback() }
//});
//login.openSignUpForm();
openSignUpForm : function(){
MWF.require("MWF.xDesktop.Authentication", null, false);
var authentication = new MWF.xDesktop.Authentication({
style : "application",
onPostOk : function(){ if(callback)callback() }
},this);
authentication.openSignUpForm({
hasMask : true
});
var authentication = new MWF.xDesktop.Authentication( {
style : "flat",
"popupStyle_password": "o2platformSignupFlat",
onPostOk : function(){
if(callback)callback()
}
}, this);
authentication.popupOptions = {
"draggable": true,
"closeAction": true,
"hasMask": true,
"relativeToApp": true,
"width": "420",
"height": "640"
};
authentication.openSignUpForm();
},
gotoReply : function( index ){
this.replyView.paging.gotoItem( index );
......
......@@ -404,38 +404,76 @@ MWF.xApplication.ForumSection.Main = new Class({
var height = nodeSize.y - topSize.y - pt - pb;
this.contentContainerNode.setStyle("height", "" + height + "px");
},
// openLoginForm : function(){
// //MWF.xDesktop.requireApp("Forum", "Login", null, false);
// //var login = new MWF.xApplication.Forum.Login(this, {
// // onPostOk : function(){
// // window.location.reload();
// // }
// //});
// //login.openLoginForm();
// MWF.require("MWF.xDesktop.Authentication", null, false);
// var authentication = new MWF.xDesktop.Authentication({
// style : "application",
// onPostOk : function(){
// window.location.reload();
// }
// },this);
// authentication.openLoginForm({
// hasMask : true
// });
// },
// openSignUpForm : function(){
// //MWF.xDesktop.requireApp("Forum", "Login", null, false);
// //var login = new MWF.xApplication.Forum.Login(this, {});
// //login.openSignUpForm();
// MWF.require("MWF.xDesktop.Authentication", null, false);
// var authentication = new MWF.xDesktop.Authentication( {
// style : "application",
// onPostOk : function(){
// }
// }, this);
// authentication.openSignUpForm({
// hasMask : true
// });
// },
openLoginForm : function(){
//MWF.xDesktop.requireApp("Forum", "Login", null, false);
//var login = new MWF.xApplication.Forum.Login(this, {
// onPostOk : function(){
// window.location.reload();
// }
//});
//login.openLoginForm();
MWF.require("MWF.xDesktop.Authentication", null, false);
var authentication = new MWF.xDesktop.Authentication({
style : "application",
"style" : "flat",
"popupStyle_password": "o2platformSignupFlat",
onPostOk : function(){
window.location.reload();
}
},this);
authentication.openLoginForm({
hasMask : true
});
authentication.popupOptions = {
"draggable": true,
"closeAction": true,
"hasMask": true,
"relativeToApp": true,
"width": "420",
"height": "640"
};
// authentication.loadLogin(this.app.content);
authentication.openLoginForm();
},
openSignUpForm : function(){
//MWF.xDesktop.requireApp("Forum", "Login", null, false);
//var login = new MWF.xApplication.Forum.Login(this, {});
//login.openSignUpForm();
MWF.require("MWF.xDesktop.Authentication", null, false);
var authentication = new MWF.xDesktop.Authentication( {
style : "application",
style : "flat",
"popupStyle_password": "o2platformSignupFlat",
onPostOk : function(){
}
}, this);
authentication.openSignUpForm({
hasMask : true
});
authentication.popupOptions = {
"draggable": true,
"closeAction": true,
"hasMask": true,
"relativeToApp": true,
"width": "420",
"height": "640"
};
authentication.openSignUpForm();
},
recordStatus: function(){
return {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册