因此,當用戶在ExtJS彈出窗口模式窗口上選擇保存時,將調用以下代碼。該窗口只包含一個組合框。現在,有時當用戶保存這些信息,然後再重新打開它時,組合框將顯示在窗口後面全部變灰,無法到達。其他時間,這將是好的,工作,並沒有任何時間發生事件的差異,只是完全不一致。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('');
});
}