|
From: <tob...@us...> - 2014-03-04 19:12:21
|
Revision: 7907
http://sourceforge.net/p/bigdata/code/7907
Author: tobycraig
Date: 2014-03-04 19:12:18 +0000 (Tue, 04 Mar 2014)
Log Message:
-----------
Fixed error so that file:// and http[s]:// are correctly interpreted as paths
Modified Paths:
--------------
branches/RDR/bigdata-war/src/html/workbench.js
Modified: branches/RDR/bigdata-war/src/html/workbench.js
===================================================================
--- branches/RDR/bigdata-war/src/html/workbench.js 2014-03-04 01:06:16 UTC (rev 7906)
+++ branches/RDR/bigdata-war/src/html/workbench.js 2014-03-04 19:12:18 UTC (rev 7907)
@@ -194,8 +194,6 @@
}
function identify(text, considerPath) {
- text = text.toUpperCase();
-
if(considerPath) {
// match Unix, Windows or HTTP paths
// file:// is optional for local paths
@@ -210,6 +208,7 @@
}
}
+ text = text.toUpperCase();
for(var i=0; i<sparql_update_commands.length; i++) {
if(text.indexOf(sparql_update_commands[i]) != -1) {
return 'sparql';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|