cloudsuite: use onClose insted hideEditor
This commit is contained in:
parent
199fb6083e
commit
1a5d30b5d6
@ -171,7 +171,6 @@ var documentsMain = {
|
||||
},
|
||||
|
||||
showEditor : function(title){
|
||||
var self = this;
|
||||
if (documentsMain.isGuest){
|
||||
// !Login page mess wih WebODF toolbars
|
||||
$(document.body).attr('id', 'body-user');
|
||||
@ -194,7 +193,7 @@ var documentsMain = {
|
||||
$('#loleafletframe').load(function(){
|
||||
var iframe = $('#loleafletframe').contents();
|
||||
iframe.find('#tb_toolbar-up_item_close').click(function() {
|
||||
self.hideEditor();
|
||||
documentsMain.onClose();
|
||||
});
|
||||
});
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user