Skip to content

Commit

Permalink
SF | Fixes liferay#572
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed Feb 21, 2018
1 parent 64ffbca commit 782f0ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions packages/clay-management-toolbar/src/ClayManagementToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ class ClayManagementToolbar extends Component {
}

/**
* Hides the search in mobile devices
* Continues the propagation of the clear button clicked event
* @param {!Event} event
* @private
*/
_handleCloseMobileSearchClick() {
this._showSearchMobile = false;
_handleClearResultsClick(event) {
this.emit('clearButtonClicked', event);
}

/**
* Continues the propagation of the clear button clicked event
* @param {!Event} event
* Hides the search in mobile devices
* @private
*/
_handleClearResultsClick(event) {
this.emit('clearButtonClicked', event);
_handleCloseMobileSearchClick() {
this._showSearchMobile = false;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
{template .render}
{@param spritemap: string}
{@param? _handleActionClicked: any}
{@param? _handleCloseMobileSearchClick: any}
{@param? _handleClearResultsClick: any}
{@param? _handleCloseMobileSearchClick: any}
{@param? _handleCreationButtonClicked: any}
{@param? _handleDeselectAllClicked: any}
{@param? _handleFilterDoneButtonClick: any}
Expand Down Expand Up @@ -91,8 +91,8 @@
{/call}
{else}
{call .default}
{param _handleCloseMobileSearchClick: $_handleCloseMobileSearchClick /}
{param _handleClearResultsClick: $_handleClearResultsClick /}
{param _handleCloseMobileSearchClick: $_handleCloseMobileSearchClick /}
{param _handleCreationButtonClicked: $_handleCreationButtonClicked /}
{param _handleFilterDoneButtonClick: $_handleFilterDoneButtonClick /}
{param _handleInfoButtonClicked: $_handleInfoButtonClicked /}
Expand Down

0 comments on commit 782f0ee

Please sign in to comment.