Skip to content

Commit

Permalink
Appended version to live cypher console URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
nawroth committed Apr 27, 2012
1 parent 8904bdb commit e6b30ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/js/cypherconsole.js
Expand Up @@ -72,6 +72,10 @@ function createCypherConsoles( $ )
var url= REQUEST_BASE;
url += "init=" + encodeURIComponent( database );
url += "&query=" + encodeURIComponent( command );
if ( neo4jVersion )
{
url += "&version=" + encodeURIComponent( neo4jVersion );
}
iframe = $( "<iframe/>" ).attr( "id", "console" ).addClass( "console" ).attr( "src", url );
button.after( iframe );
currentButton = button;
Expand Down

0 comments on commit e6b30ae

Please sign in to comment.