Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

jOB update

  • Loading branch information...
commit 3c3fc8dbda32c855b1592462dbc6311df9b3b4d9 1 parent d520813
@danstocker authored
Showing with 16 additions and 14 deletions.
  1. +16 −14 test/job/job.js
View
30 test/job/job.js
@@ -42,20 +42,22 @@ var jOB = function ($) {
// adding toolbar
$(function () {
- $(['<label for="job-count">Test cycles: </label>',
- '<select id="job-count">',
- '<option value="1">1</option>',
- '<option value="10" selected="selected">10</option>',
- '<option value="100">100</option>',
- '<option value="1000">1000</option>',
- '</select>',
- '<label for="job-timeout">Timeout: </label>',
- '<select id="job-timeout">',
- '<option value="1000" selected="selected">1 sec</option>',
- '<option value="5000">5 secs</option>',
- '</select>',
- '<input id="job-estimate" type="checkbox" checked="checked" />',
- '<label for="job-estimate">Estimate on timeout</label>',
+ $([
+ '<div>',
+ ' <label for="job-count">Test cycles: </label>',
+ ' <select id="job-count">',
+ ' <option value="1">1</option>',
+ ' <option value="10" selected="selected">10</option>',
+ ' <option value="100">100</option>',
+ ' <option value="1000">1000</option>',
+ ' </select>',
+ ' <label for="job-timeout">Timeout: </label>',
+ ' <select id="job-timeout">',
+ ' <option value="1000" selected="selected">1 sec</option>',
+ ' <option value="5000">5 secs</option>',
+ ' </select>',
+ ' <input id="job-estimate" type="checkbox" checked="checked" />',
+ ' <label for="job-estimate">Estimate on timeout</label>',
'</div>'
].join(''))
.appendTo($('#job-toolbar'));
Please sign in to comment.
Something went wrong with that request. Please try again.