From 670016580f9fdb83f81f543b3451e81acabaa576 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Tue, 24 Sep 2013 15:49:00 +0300 Subject: [PATCH] Fix path to otpoll for external requests --- js/3rdparty/webodf/editor/server/owncloud/ServerFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/3rdparty/webodf/editor/server/owncloud/ServerFactory.js b/js/3rdparty/webodf/editor/server/owncloud/ServerFactory.js index 31588086..bf3a32cc 100644 --- a/js/3rdparty/webodf/editor/server/owncloud/ServerFactory.js +++ b/js/3rdparty/webodf/editor/server/owncloud/ServerFactory.js @@ -51,7 +51,7 @@ define("webodf/editor/server/owncloud/ServerFactory", [ this.createServer = function (args) { var server; args = args || {}; - args.url = "./documents/ajax/otpoll.php"; + args.url = OC.filePath('documents', 'ajax', 'otpoll.php'); args.sessionStateToFileUrl = OC.Router.generate('documents_session_save'); server = new PullBoxServer(args);