|
|
@ -171,7 +171,6 @@ var documentsMain = {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
showEditor : function(title){
|
|
|
|
showEditor : function(title){
|
|
|
|
var self = this;
|
|
|
|
|
|
|
|
if (documentsMain.isGuest){
|
|
|
|
if (documentsMain.isGuest){
|
|
|
|
// !Login page mess wih WebODF toolbars
|
|
|
|
// !Login page mess wih WebODF toolbars
|
|
|
|
$(document.body).attr('id', 'body-user');
|
|
|
|
$(document.body).attr('id', 'body-user');
|
|
|
@ -194,7 +193,7 @@ var documentsMain = {
|
|
|
|
$('#loleafletframe').load(function(){
|
|
|
|
$('#loleafletframe').load(function(){
|
|
|
|
var iframe = $('#loleafletframe').contents();
|
|
|
|
var iframe = $('#loleafletframe').contents();
|
|
|
|
iframe.find('#tb_toolbar-up_item_close').click(function() {
|
|
|
|
iframe.find('#tb_toolbar-up_item_close').click(function() {
|
|
|
|
self.hideEditor();
|
|
|
|
documentsMain.onClose();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|