Просмотр исходного кода

HUE-253. Query Save As dialog appears empty

Marcus McLaughlin 15 лет назад
Родитель
Сommit
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