We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
play
1 parent 444a068 commit ae601c9Copy full SHA for ae601c9
app/scripts/controllers/Main.coffee
@@ -177,10 +177,8 @@ angular.module('neo4jApp.controllers')
177
$scope.unauthorized = yes
178
179
if cmdParam = Utils.getUrlParam('cmd', window.location.href)
180
- if cmdParam[0] is 'cypher'
181
- cmdCommand = ''
182
- else
183
- cmdCommand = "#{Settings.cmdchar}#{cmdParam[0]} "
+ return unless cmdParam[0] is 'play'
+ cmdCommand = "#{Settings.cmdchar}#{cmdParam[0]} "
184
cmdArgs = Utils.getUrlParam('arg', decodeURIComponent(window.location.href)) || []
185
Editor.setContent(cmdCommand + cmdArgs.join(' '))
186
])
0 commit comments