Browse Source

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

Improved UX of the popup
Enrico Berti 12 năm trước cách đây
mục cha
commit
6daa2fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>