0
發現我得到一個錯誤:道場不從popmenu
腳本解釋器誤差,線= 3,列= 28:[的ReferenceError] '道場' 未找到
1: viewScope.ppChoice=context.getSubmittedValue();
2: dBar.info("I am here");
3: var fileUploadPanel = dojo.byId("#{id:fileUploadPanel}");
4: var fileUpload1 = dojo.byId("#{id:fileUpload1}");
5: var butImport = dojo.byId("#{id:butImport}");
6: dojo.style(fileUploadPanel, "display", "block");
7: dojo.window.scrollIntoView(butImport);
8: fileUpload1.focus();
上的onItemClick事件一個擴展庫彈出菜單。這個相同的代碼在正常的按鈕事件中運行得很好。我打算現在不使用popupmenu,但我仍然好奇爲什麼我從onItemClick事件中得到這個錯誤。有任何想法嗎?