瀏覽代碼

HUE-253. Query Save As dialog appears empty

Marcus McLaughlin 15 年之前
父節點
當前提交
7c1ce41555
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      apps/beeswax/static/js/Source/Beeswax/CCS.Beeswax.js

+ 2 - 1
apps/beeswax/static/js/Source/Beeswax/CCS.Beeswax.js

@@ -458,7 +458,8 @@ ART.Sheet.define('splitview.bw-editor', {
 			var saveIt = function(){
 				//grab the container of the save as inputs and clone them
 				//(clone them because our windows destroy themselves on hide)
-				var form = saver.clone();
+                                //Hide on clone to ensure that display property is set to none.
+				var form = saver.clone().hide();
 				//prompt the user w/ the form
 				var prompt = this.prompt('Save This Query', form.show(), function(){
 					//replace the saver form with the one the user filled out