Skip to content

Commit

Permalink
WEBUI-1489: Backward Port: Display the + button on mobile browsers (#…
Browse files Browse the repository at this point in the history
…2280)

* WEBUI-1489: Display the + button on mobile browsers
  • Loading branch information
rahuljain-dev authored Jul 23, 2024
1 parent e3cd3e0 commit a07ae4b
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 a07ae4b

Please sign in to comment.