mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
W.I.P. collab editor:
- Fix some IDE warnings
This commit is contained in:
parent
d622af8c44
commit
ef9634438f
@ -68,7 +68,7 @@ app.classes.filemanager = app.classes.filemanager.extend({
|
|||||||
// need to make body rock solid to avoid extra scrollbars
|
// need to make body rock solid to avoid extra scrollbars
|
||||||
jQuery('body').css({overflow:'hidden'});
|
jQuery('body').css({overflow:'hidden'});
|
||||||
var self = this;
|
var self = this;
|
||||||
jQuery(window).on('unload', function(){self.editor_leaveSession()});
|
jQuery(window).on('unload', function(){self.editor_leaveSession();});
|
||||||
this._init_odf_collab_editor ();
|
this._init_odf_collab_editor ();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -346,7 +346,7 @@ app.classes.filemanager = app.classes.filemanager.extend({
|
|||||||
var buttons = [
|
var buttons = [
|
||||||
{"button_id": 1,"text": 'reload', id: 'reload', image: 'check' },
|
{"button_id": 1,"text": 'reload', id: 'reload', image: 'check' },
|
||||||
{"button_id": 0,"text": 'save as', id: 'save', image: 'cancel', "default":true}
|
{"button_id": 0,"text": 'save as', id: 'save', image: 'cancel', "default":true}
|
||||||
]
|
];
|
||||||
et2_dialog.show_dialog(
|
et2_dialog.show_dialog(
|
||||||
function(_btn)
|
function(_btn)
|
||||||
{
|
{
|
||||||
@ -402,7 +402,7 @@ app.classes.filemanager = app.classes.filemanager.extend({
|
|||||||
this.editor_discarded();
|
this.editor_discarded();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.log(e)
|
console.log(e);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -466,10 +466,10 @@ app.classes.filemanager = app.classes.filemanager.extend({
|
|||||||
joinSession(sessionId);
|
joinSession(sessionId);
|
||||||
break;
|
break;
|
||||||
case "timeout":
|
case "timeout":
|
||||||
console.log('did not connect to server because of timeout.')
|
console.log('did not connect to server because of timeout.');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.log('server is not available.')
|
console.log('server is not available.');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -501,7 +501,7 @@ app.classes.filemanager = app.classes.filemanager.extend({
|
|||||||
var buttons = [
|
var buttons = [
|
||||||
{"button_id": 1,"text": 'discard', id: 'discard', image: 'check' },
|
{"button_id": 1,"text": 'discard', id: 'discard', image: 'check' },
|
||||||
{"button_id": 0,"text": 'cancel', id: 'cancel', image: 'cancel', "default":true}
|
{"button_id": 0,"text": 'cancel', id: 'cancel', image: 'cancel', "default":true}
|
||||||
]
|
];
|
||||||
et2_dialog.show_dialog(
|
et2_dialog.show_dialog(
|
||||||
function(_btn)
|
function(_btn)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user