var extra_buttons = $('span.panel-toolbar-extra', toolbar);
var placeholder = $('div.panel-toolbar span.panel-toolbar-extra', this.wrap);
placeholder.replaceWith(extra_buttons);
- extra_buttons.hide();
+ placeholder.hide();
var action_buttons = $('button', extra_buttons);
if( $('.panel-wrap.changed').length != 0)
alert("There are unsaved changes - can't commit.");
- var self = this;
- $.log('URL !: ', $('#commit-dialog form').attr('action'));
+ var self = this;
+
+ $('#commit-dialog-related-issues input:checked').
+ each(function() { message += ' refs #' + $(this).val(); });
$.ajax({
url: $('#commit-dialog form').attr('action'),