You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/03/17 14:37:52 UTC
svn commit: r1578364 [1/3] - in
/jena/branches/jena-fuseki-new-ui/src/main/webapp:
js/app/controllers/upload-controller.js js/lib/jquery-1.10.2.js
js2/jquery.fileupload.local.js upload.html
Author: andy
Date: Mon Mar 17 13:37:51 2014
New Revision: 1578364
URL: http://svn.apache.org/r1578364
Log:
Set target for upload (unsubtle method)
Added:
jena/branches/jena-fuseki-new-ui/src/main/webapp/js/lib/jquery-1.10.2.js
jena/branches/jena-fuseki-new-ui/src/main/webapp/js2/jquery.fileupload.local.js
Modified:
jena/branches/jena-fuseki-new-ui/src/main/webapp/js/app/controllers/upload-controller.js
jena/branches/jena-fuseki-new-ui/src/main/webapp/upload.html
Modified: jena/branches/jena-fuseki-new-ui/src/main/webapp/js/app/controllers/upload-controller.js
URL: http://svn.apache.org/viewvc/jena/branches/jena-fuseki-new-ui/src/main/webapp/js/app/controllers/upload-controller.js?rev=1578364&r1=1578363&r2=1578364&view=diff
==============================================================================
--- jena/branches/jena-fuseki-new-ui/src/main/webapp/js/app/controllers/upload-controller.js (original)
+++ jena/branches/jena-fuseki-new-ui/src/main/webapp/js/app/controllers/upload-controller.js Mon Mar 17 13:37:51 2014
@@ -42,6 +42,7 @@ define(
var ds = fusekiServer.dataset( dsName );
endpoints["default"] = ds.uploadURL();
}
+ $
},
/** Return a hashmap in a form we can pass to initUploader (c.f. a qconsole config) */
@@ -114,6 +115,7 @@ define(
/** Set the current endpoint text */
var setCurrentEndpoint = function( url ) {
$("[id=uploadEndpoint]").val( url );
+ $('#fileuploadForm').attr('action', url) ;
};
/** Return the current endpoint text */