|
From: <tob...@us...> - 2014-05-06 18:56:09
|
Revision: 8209
http://sourceforge.net/p/bigdata/code/8209
Author: tobycraig
Date: 2014-05-06 18:56:06 +0000 (Tue, 06 May 2014)
Log Message:
-----------
Improved detection of inserted content in update panel
Modified Paths:
--------------
branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js
Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js
===================================================================
--- branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js 2014-05-06 17:57:47 UTC (rev 8208)
+++ branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js 2014-05-06 18:56:06 UTC (rev 8209)
@@ -310,7 +310,7 @@
// when file:// is present, Windows paths must use / and may include a :
// http[s]:// is mandatory for HTTP paths
var unix = /^(file:\/\/)?((\/[^\/]+)+)$/;
- var windows = /^((file:\/\/)([A-Za-z]:?([\/][^\/\\]+)+))|([A-Za-z]:([\\\/][^\\\/]+)+)$/;
+ var windows = /^(((file:\/\/)([A-Za-z]:?([\/][^\/\\]+)+))|([A-Za-z]:([\\\/][^\\\/]+)+))$/;
var http = /^https?:\/((\/[^\/]+)+)$/;
if(unix.test(text.trim()) || windows.test(text.trim()) || http.test(text.trim())) {
return 'path';
@@ -374,7 +374,7 @@
'trix': 'application/trix',
'turtle': 'application/x-turtle'};
-var sparql_update_commands = ['INSERT', 'DELETE'];
+var sparql_update_commands = ['INSERT', 'DELETE', 'LOAD', 'CLEAR'];
$('#update-file').change(handleFile);
$('#update-box').on('dragover', handleDragOver)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|