Add one-shot jobsets
There are jobsets that are evaluated only once, that is, after they've been evaluated, they're disabled automatically. This is primarily useful for doing releases: for instance, doing an evaluation with "officialRelease" set to "true" should be done only once.
This commit is contained in:
@ -69,7 +69,17 @@ $(document).ready(function() {
|
||||
var id = e.target.toString().match(pattern)[0];
|
||||
history.replaceState(null, "", id);
|
||||
});
|
||||
})
|
||||
});
|
||||
|
||||
/* Automatically set Bootstrap radio buttons from hidden form controls. */
|
||||
$('div[data-toggle="buttons-radio"] input[type="hidden"]').map(function(){
|
||||
$('button[value="' + $(this).val() + '"]', $(this).parent()).addClass('active');
|
||||
});
|
||||
|
||||
/* Automatically update hidden form controls from Bootstrap radio buttons. */
|
||||
$('div[data-toggle="buttons-radio"] .btn').click(function(){
|
||||
$('input', $(this).parent()).val($(this).val());
|
||||
});
|
||||
});
|
||||
|
||||
var tabsLoaded = {};
|
||||
|
Reference in New Issue
Block a user