summaryrefslogtreecommitdiff
path: root/plugins/kolab_notes
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-12-10 11:56:56 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-12-10 11:56:56 (GMT)
commitc9622696a1048e645c273fb73c8ee27a609157c1 (patch)
treef004dddedb0d16f8a80d1ebf1d52e8e5771512e8 /plugins/kolab_notes
parentdf65bb8818a0ccf7ca8d78bc570d095cc09d8fe8 (diff)
downloadroundcubemail-plugins-kolab-c9622696a1048e645c273fb73c8ee27a609157c1.tar.gz
Assign mainaction/delete classes to dialog buttonsroundcubemail-plugins-kolab-3.2.1
Diffstat (limited to 'plugins/kolab_notes')
-rw-r--r--plugins/kolab_notes/notes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/kolab_notes/notes.js b/plugins/kolab_notes/notes.js
index d6e43d6..0f342e5 100644
--- a/plugins/kolab_notes/notes.js
+++ b/plugins/kolab_notes/notes.js
@@ -1271,6 +1271,7 @@ function rcube_kolab_notes_ui(settings)
buttons.push({
text: rcmail.gettext('save'),
+ 'class': 'mainaction',
click: function() {
save_note(beforesave);
dialog.dialog('close');
@@ -1295,7 +1296,7 @@ function rcube_kolab_notes_ui(settings)
open: function(event, ui) {
$(this).parent().find('.ui-dialog-titlebar-close').hide();
setTimeout(function(){
- dialog.parent().find('.ui-button:visible').first().addClass('mainaction').focus();
+ dialog.parent().find('.ui-button:visible').first().focus();
}, 10);
},
close: function(event, ui) {