Remove unneeded patch for webodf/editor/server/owncloud/ServerFactory.js

that is a special class for ownCloud (Documents) and thus already has the patch applied upstream
pull/1/head
Friedrich W. H. Kossebau 11 years ago
parent e6794e015c
commit 5f932ea3dc

@ -1,13 +0,0 @@
diff --git a/js/3rdparty/webodf/editor/server/owncloud/ServerFactory.js b/js/3rdparty/webodf/editor/server/owncloud/ServerFactory.js
index 3158808..bf3a32c 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);

@ -35,4 +35,3 @@ cp "$WEBODF_BUILDDIR"/programs/editor/editor.css ./css/3rdparty/webodf
# patches against upstream
patch -p1 -i src/patches/fontsCssPath.patch
patch -p1 -i src/patches/hideCaretAvatar.patch
patch -p1 -i src/patches/otpollLocation.patch

Loading…
Cancel
Save