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

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

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