Adapts color on assigned to change

pull/6827/head
Hagen Schink 11 years ago
parent d53f441fae
commit 1c065adf9b
  1. BIN
      app/assets/javascripts/backlogs/.show_main.js.swo
  2. BIN
      app/assets/javascripts/backlogs/.task.js.swo
  3. 2
      app/assets/javascripts/backlogs/task.js

@ -59,10 +59,12 @@ RB.Task = (function ($) {
}
var c = this.$.find('select.assigned_to_id').children(':selected').attr('color') || this.defaultColor;
this.$.css('background-color', c);
this.$.colorcontrast();
},
editorDisplayed: function (dialog) {
dialog.parents('.ui-dialog').css('background-color', this.$.css('background-color'));
dialog.parents('.ui-dialog').colorcontrast();
},
getType: function () {

Loading…
Cancel
Save