Re-implemented old hack to get selected columns posting to query save.

pull/993/head
Richard 11 years ago
parent b4156c8029
commit 7d78cf920b
  1. 1
      app/assets/javascripts/angular/controllers/work-packages-controller.js
  2. 2
      public/templates/work_packages/query_columns.html

@ -32,6 +32,7 @@ angular.module('openproject.workPackages.controllers')
};
$scope.submitQueryForm = function(){
jQuery("#selected_columns option").attr('selected',true);
jQuery('#query_form').submit();
return false;
};

@ -24,10 +24,10 @@
name="c[]"
multiple="multiple"
ng-model="markedSelectedColumns"
ng-options="column.name as column.title for column in columns"
name="c[]"
size="10"
style="width:150px">
<option ng-repeat="column in columns" value="{{ column.name }}">{{ column.title }}</option>
</select>
</td>
<td class="table-buttons" align="center" valign="middle">

Loading…
Cancel
Save