function searchBar_clear()
  {
    var activeElement = this._controller.window.document.activeElement;

    var searchInput = this.getElement({type: "searchBar_input"});
    var cmdKey = utils.getEntity(this.getDtds(), "selectAllCmd.key");
    this._controller.keypress(searchInput, cmdKey, {accelKey: true});
    this._controller.keypress(searchInput, 'VK_DELETE', {});

    if (activeElement)
      activeElement.focus();
  }
function searchBar_clear()
  {
    var activeElement = this._controller.window.document.activeElement;

    var searchInput = this.getElement({type: "searchBar_input"});
    var cmdKey = utils.getEntity(this.getDtds(), "selectAllCmd.key");
    this._controller.keypress(searchInput, cmdKey, {accelKey: true});
    this._controller.keypress(searchInput, 'VK_DELETE', {});

    if (activeElement)
      activeElement.focus();
  }
function searchBar_clear ( ) { var activeElement = this . _controller . window . document . activeElement ; var searchInput = this . getElement ( { type : "searchBar_input" } ) ; var cmdKey = utils . getEntity ( this . getDtds ( ) , "selectAllCmd.key" ) ; this . _controller . keypress ( searchInput , cmdKey , { accelKey : true } ) ; this . _controller . keypress ( searchInput , 'VK_DELETE' , { } ) ; if ( activeElement ) activeElement . focus ( ) ; }
Clear the search field
Clear the search field
Clear all search items