2013-06-19 30 views
-2

我所做的:示例代碼,使一個爛攤子

function doGet() { 
var app = UiApp.createApplication(); 
// Create a dialog box. 
var dialog = app.createDialogBox(); 
// Add a label to the dialog and set the dimensions and position. 
dialog.setPopupPosition(100, 100).setSize(500, 500).show(); 
// Show the dialog. Note that it does not have to be "added" to the UiInstance. 
dialog.show(); 
return app; 
} 

部署,並得到: enter image description here

這顯然不是我所期待的。 我做錯了什麼?

回答

0

別擔心,.createDialogBox()似乎被打破。將您的參賽作品寫入issue tracker只要您的參賽作品出現在那裏,我就會爲您演出。

我用​​的正常工作,並給出了相同的功能減去draggability

+0

[問題2907](https://code.google.com/p/google-apps-script-issues/issues/detail? id = 2907)已被輸入。 – Mogsdad

+0

[此答案](http://stackoverflow.com/a/14432143/1677912)中可能的解決方法。 – Mogsdad

+0

我看到Mogsdad評論遲到了。我輸入了另一個問題(2917) – unicorn