【发布时间】:2010-09-27 13:58:07
【问题描述】:
因此,当用户在 ExtJS 弹出模式窗口上选择“保存”时,将调用以下代码。此窗口仅包含一个组合框。现在,有时当用户保存它,然后稍后重新打开它时,组合框会出现在窗口后面,全部变灰,无法访问。其他时候,它会很好并且工作,两次发生的事件没有区别,只是完全不一致。
有谁知道这可能是什么?
var changeProductOK = function() {
var win = getChangeProductWindow();
if (win.subProductId.getValue() == '') {
Global.alert('Choose a product');
return;
}
win.hide();
PropertiesWin.hide();
Global.confirm('You sure?', 'Confirm', function(result) {
if (result) {
Global.mask('Changing the product', workspacePanel.getEl());
WorkspaceController.ChangeProduct(applicationId, win.subProductId.getValue(), function(response) {
Global.unmask(workspacePanel.getEl());
if (!response) {
showWorkflowMessages([{ Type: 0, Text: 'A timeout occurred while changing the product. Please try again.'}]);
return;
}
if (response.Data.Result == false) {
showWorkflowMessages(response.Data.Messages);
} else {
Global.mask('Reloading the application');
reloadWorkspace();
}
});
}
win.subProductId.setValue('');
});
}
【问题讨论】:
标签: javascript asp.net vb.net extjs