Fix code indentation
This commit is contained in:
parent
fb6029edbe
commit
2c9214621f
1 changed files with 21 additions and 21 deletions
|
@ -44,29 +44,29 @@ function rcube_calendar(settings)
|
||||||
buttons = {},
|
buttons = {},
|
||||||
button_classes = ['mainaction save', 'cancel'],
|
button_classes = ['mainaction save', 'cancel'],
|
||||||
title = rcmail.gettext('calendar.createfrommail'),
|
title = rcmail.gettext('calendar.createfrommail'),
|
||||||
dialog = $('<iframe>').attr({
|
dialog = $('<iframe>').attr({
|
||||||
id: 'kolabcalendarinlinegui',
|
id: 'kolabcalendarinlinegui',
|
||||||
name: 'kolabcalendardialog',
|
name: 'kolabcalendardialog',
|
||||||
src: rcmail.url('calendar/dialog-ui', url)
|
src: rcmail.url('calendar/dialog-ui', url)
|
||||||
});
|
});
|
||||||
|
|
||||||
// dialog buttons
|
// dialog buttons
|
||||||
buttons[rcmail.gettext('save')] = function() {
|
buttons[rcmail.gettext('save')] = function() {
|
||||||
var frame = rcmail.get_frame_window('kolabcalendarinlinegui');
|
var frame = rcmail.get_frame_window('kolabcalendarinlinegui');
|
||||||
frame.rcmail.command('event-save');
|
frame.rcmail.command('event-save');
|
||||||
};
|
};
|
||||||
|
|
||||||
buttons[rcmail.gettext('cancel')] = function() {
|
buttons[rcmail.gettext('cancel')] = function() {
|
||||||
dialog.dialog('destroy');
|
dialog.dialog('destroy');
|
||||||
};
|
};
|
||||||
|
|
||||||
// open jquery UI dialog
|
// open jquery UI dialog
|
||||||
window.kolab_event_dialog_element = dialog = rcmail.show_popup_dialog(dialog, title, buttons, {
|
window.kolab_event_dialog_element = dialog = rcmail.show_popup_dialog(dialog, title, buttons, {
|
||||||
button_classes: button_classes,
|
button_classes: button_classes,
|
||||||
minWidth: 500,
|
minWidth: 500,
|
||||||
width: 600,
|
width: 600,
|
||||||
height: 600
|
height: 600
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// handler for attachment-save-calendar commands
|
// handler for attachment-save-calendar commands
|
||||||
|
@ -81,7 +81,7 @@ function rcube_calendar(settings)
|
||||||
// _calendar: $('#calendar-attachment-saveto').val(),
|
// _calendar: $('#calendar-attachment-saveto').val(),
|
||||||
}, rcmail.set_busy(true, 'itip.savingdata'));
|
}, rcmail.set_busy(true, 'itip.savingdata'));
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue