|
|
|
@ -93,9 +93,6 @@ function rcube_elastic_ui()
|
|
|
|
|
// Setup various UI elements
|
|
|
|
|
setup();
|
|
|
|
|
|
|
|
|
|
// Update layout after initialization
|
|
|
|
|
resize();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Setup procedure
|
|
|
|
@ -610,12 +607,16 @@ function rcube_elastic_ui()
|
|
|
|
|
|
|
|
|
|
rcmail.env.thread_padding = '1.5rem';
|
|
|
|
|
|
|
|
|
|
// Update layout after initialization
|
|
|
|
|
// In devel mode we have to wait until all styles are applied by less
|
|
|
|
|
if (rcmail.env.devel_mode && window.less) {
|
|
|
|
|
less.pageLoadFinished.then(function() {
|
|
|
|
|
resize();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
resize();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Add date format placeholder to datepicker inputs
|
|
|
|
|
var func, format;
|
|
|
|
|