diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-08-27 17:39:22 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-09-15 16:53:10 +0200 |
commit | 33f0601862c337799235c06282764fc95fe21f02 (patch) | |
tree | 9d3a343f2e8294c5cd415e87cddf355eb395f863 /core/js/jquery.ocdialog.js | |
parent | 246a5a5750dd2b8f990797b2c6cc4270a9a5b59d (diff) | |
download | nextcloud-server-33f0601862c337799235c06282764fc95fe21f02.tar.gz nextcloud-server-33f0601862c337799235c06282764fc95fe21f02.zip |
[WIP] Added copy and move buttons
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r-- | core/js/jquery.ocdialog.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js index b54cce2c0ca..555b35e59ff 100644 --- a/core/js/jquery.ocdialog.js +++ b/core/js/jquery.ocdialog.js @@ -130,6 +130,11 @@ }); this._setSizes(); break; + case 'style': + if (value.buttons !== undefined) { + this.$buttonrow.addClass(value.buttons); + } + break; case 'closeButton': if(value) { var $closeButton = $('<a class="oc-dialog-close"></a>'); |