浏览代码

HUE-1246 [pig] Change name of default saved script

Improved UX of the popup
Enrico Berti 12 年之前
父节点
当前提交
6daa2fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/pig/src/pig/templates/app.mako

+ 1 - 1
apps/pig/src/pig/templates/app.mako

@@ -466,7 +466,7 @@ ${ commonheader(None, "pig", user, "100px") | n,unicode }
       ${_('Please give a meaningful name to this script.')}<br/><br/>
       <label>
         ${ _('Script name') } &nbsp;
-        <input type="text" class="input-xlarge" data-bind="value: currentScript().name" />
+        <input type="text" class="input-xlarge" data-bind="value: currentScript().name, valueUpdate:'afterkeydown'" />
       </label>
     </p>
   </div>