|
From: <tob...@us...> - 2014-05-21 16:26:33
|
Revision: 8400
http://sourceforge.net/p/bigdata/code/8400
Author: tobycraig
Date: 2014-05-21 16:26:25 +0000 (Wed, 21 May 2014)
Log Message:
-----------
Fixed submit button on explore tab being overwritten with URI
Modified Paths:
--------------
branches/NEW_WORKBENCH_1_3_2_BRANCH/bigdata-war/src/html/js/workbench.js
Modified: branches/NEW_WORKBENCH_1_3_2_BRANCH/bigdata-war/src/html/js/workbench.js
===================================================================
--- branches/NEW_WORKBENCH_1_3_2_BRANCH/bigdata-war/src/html/js/workbench.js 2014-05-21 14:52:13 UTC (rev 8399)
+++ branches/NEW_WORKBENCH_1_3_2_BRANCH/bigdata-war/src/html/js/workbench.js 2014-05-21 16:26:25 UTC (rev 8400)
@@ -932,7 +932,7 @@
$('#explore-form').submit(function(e) {
e.preventDefault();
- var uri = $(this).find('input').val().trim();
+ var uri = $(this).find('input[type="text"]').val().trim();
if(uri) {
// add < > if they're not present
if(uri[0] != '<') {
@@ -941,7 +941,7 @@
if(uri.slice(-1) != '>') {
uri += '>';
}
- $(this).find('input').val(uri);
+ $(this).find('input[type="text"]').val(uri);
loadURI(uri);
// if this is a SID, make the components clickable
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|