Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24042, comment 5


Ignore:
Timestamp:
08/12/2013 07:41:51 PM (13 years ago)
Author:
lessbloat
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24042, comment 5

    initial v1  
    33I refactored our custom placeholder code in 24042.diff​.  A couple notes:
    44
     5- This now keeps the placeholder text there until you start typing.
    56- Note sure if common.js is the right file for this.  Seemed to be the best place.  This can be reused anywhere in the admin now.
    67- I used _.throttle to prevent the keyup from firing so much (note, I tried _.debounce, but it delayed the hiding of the placeholder text a bit longer than _.throttle)