Ver Fonte

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

Improved UX of the popup
Enrico Berti há 12 anos atrás
pai
commit
6daa2fb
1 ficheiros alterados com 1 adições e 1 exclusões
  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>