Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: e908219a9a27fab114f2ab78436b4b9bd3bb4a65
      
https://github.com/jenkinsci/jenkins/commit/e908219a9a27fab114f2ab78436b4b9bd3bb4a65
  Author: anafke <adam.na...@gmail.com>
  Date:   2014-08-20 (Wed, 20 Aug 2014)

  Changed paths:
    M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  Remove unnecessary onblur call

Right now, checker is being attached to both onblur and onchange.  The result 
is when the user changes input, and that input loses focus, the checker is 
being fired twice.  This can cause issues on non-trivial field changes (such as 
validating a groovy script).  If there is no change, the checker is still 
called once due to the onblur.

The checker should only be called if the input is changed.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to