Skip to content

Commit

Permalink
empty result
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagotalma committed Mar 25, 2016
1 parent a24d1bc commit 84fd636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/utils.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class @Utils
find('.agent-dry-run-log').text(json.log).end().
find('.agent-dry-run-events').text(json.events).end().
find('.agent-dry-run-memory').text(json.memory)
active = if json.events.match(/^\[\s*\]$/) then 'tabLog' else 'tabEvents'
active = if json.events.match(/^\[?\s*\]?$/) then 'tabLog' else 'tabEvents'
$('#resultTabs a[href="#' + active + '"]').tab('show')
title: 'Dry Run Results',
onHide: callback
Expand Down

0 comments on commit 84fd636

Please sign in to comment.