Skip to content

Commit

Permalink
WEBUI-1489: Display the + button on mobile browsers (#2279)
Browse files Browse the repository at this point in the history
* WEBUI-1489: Display the + button on mobile browsers

* WEBUI-1489: Display the + button on mobile browsers: adding prevent default
  • Loading branch information
rahuljain-dev authored Jul 23, 2024
1 parent 89e0245 commit 9a6f7fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions elements/nuxeo-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,7 @@ Polymer({
</paper-header-panel>
</paper-drawer-panel>
<nuxeo-document-create-button
class$="[[page]]"
parent="[[currentParent]]"
hidden$="[[isMobile]]"
></nuxeo-document-create-button>
<nuxeo-document-create-button class$="[[page]]" parent="[[currentParent]]"></nuxeo-document-create-button>
<nuxeo-document-create-popup
id="importPopup"
parent="[[currentParent]]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ Polymer({
},

_displayWizard(e) {
e.preventDefault();
if (!this.hidden) {
this.fire('create-document', e.detail);
}
Expand Down

0 comments on commit 9a6f7fd

Please sign in to comment.