Kaynağa Gözat

密码过期界面

unknown 5 yıl önce
ebeveyn
işleme
029a2dabf8

+ 3 - 1
o2web/source/o2_core/o2/xDesktop/Authentication.js

@@ -1022,7 +1022,9 @@ MWF.xDesktop.Authentication.LoginForm = new Class({
         this.close();
         this.close();
     },
     },
     gotoChangePassword : function(){ //密码过期
     gotoChangePassword : function(){ //密码过期
-        this.explorer.openChangePasswordForm();
+        this.explorer.openChangePasswordForm( null, function(){
+            this.explorer.loadLogin();
+        }.bind(this));
         this.close();
         this.close();
     },
     },
     checkBindStatus: function () {
     checkBindStatus: function () {

+ 1 - 0
o2web/source/x_component_process_Work/Processor.js

@@ -669,6 +669,7 @@ MWF.xApplication.process.Work.Processor = new Class({
     setIdeaList: function(ideas){
     setIdeaList: function(ideas){
         var _self = this;
         var _self = this;
         ideas.each(function(idea){
         ideas.each(function(idea){
+            if( !idea )return;
             new Element("div", {
             new Element("div", {
                 "styles": this.css.selectIdeaItemNode,
                 "styles": this.css.selectIdeaItemNode,
                 "text": idea,
                 "text": idea,