diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-19 08:23:07 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-19 08:23:07 -0700 |
commit | 09cfebe93653f9168bdfb8e480a47c50a28868ea (patch) | |
tree | 9370b9d5ac99f148d2bc724f76c805b772af7d2d /core/js/jquery.ocdialog.js | |
parent | bd5cb1d801a16933b7b75af5c514caec2afa5fef (diff) | |
parent | 7e0631b3b81a5669620122964d0326ead187de30 (diff) | |
download | nextcloud-server-09cfebe93653f9168bdfb8e480a47c50a28868ea.tar.gz nextcloud-server-09cfebe93653f9168bdfb8e480a47c50a28868ea.zip |
Merge pull request #4766 from owncloud/fix_3728_with_file_exists_dialog
file upload conflicts dialog
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r-- | core/js/jquery.ocdialog.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js index f1836fd4727..02cd6ac1466 100644 --- a/core/js/jquery.ocdialog.js +++ b/core/js/jquery.ocdialog.js @@ -103,6 +103,9 @@ } $.each(value, function(idx, val) { var $button = $('<button>').text(val.text); + if (val.classes) { + $button.addClass(val.classes); + } if(val.defaultButton) { $button.addClass('primary'); self.$defaultButton = $button; |