From 33f0601862c337799235c06282764fc95fe21f02 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 27 Aug 2017 17:39:22 +0200 Subject: [WIP] Added copy and move buttons Signed-off-by: Thomas Citharel --- core/js/jquery.ocdialog.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/js/jquery.ocdialog.js') 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 = $(''); -- cgit v1.2.3