Sha256: 8d034b211f0bafe6a4642f262eb9c52842917e47452737413fe2aa8a27e8ec6e

Contents?: true

Size: 464 Bytes

Versions: 10

Compression:

Stored size: 464 Bytes

Contents

HSearchField = HTextControl.extend
  componentName: 'searchfield'
  markupElemNames: HTextControl.prototype.markupElemNames.slice().concat('help')
  controlDefaults: HTextControl.prototype.controlDefaults.extend
    helpText: 'Search...'

  textFocus: ->
    @setStyleOfPart( 'help', 'visibility', 'hidden' )
    @base()

  refreshValue: ->
    if @typeChr( @value ) == 's' and @value.length > 0
      @setStyleOfPart( 'help', 'visibility', 'hidden' )
    @base()

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rsence-pre-3.0.0.16 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.15 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.14 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.12 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.11 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.10 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.9 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.8 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.7 client/js/controls/searchfield/searchfield.coffee
rsence-pre-3.0.0.6 client/js/controls/searchfield/searchfield.coffee