Skip to content
Snippets Groups Projects
  1. Aug 14, 2015
  2. Aug 10, 2015
  3. Aug 07, 2015
  4. Aug 03, 2015
  5. Jul 27, 2015
    • Alice Heaton's avatar
      Re-introduce the per-row drop down to update each record's category as well as... · ead34b95
      Alice Heaton authored
      Re-introduce the per-row drop down to update each record's category as well as the mirrored buttons at the bottom of the page. This means that we have a single form that can either do a batch update, or an update of values set per row. The different action is determined by the submit button that was used - which is always named 'action'. Because we have a mirrored select drop down for the batch action, we need to know which one to take into account - so the value of the submit button indiciates which one was clicked, of the form <action>-<placement> (eg. save-top) and the name of mirrored inputs indidicate where they are located, of the form <name>-<placement> (eg. batchaction-bottom). The ViewItems class has a static method to find the active placement and rename the parameters accordingly. Some of the old code was re-introduced, though some of it was refactored (eg. what used to be get_categories, to fetch each row's selected category, has been moved to ItemTable to parallel get_selected, and is now named get_row_select_value (it's a more generic version, looking at the future when we'll update the region with the same mechanism.)
      ead34b95
  6. Jul 23, 2015
  7. Jul 21, 2015
  8. Jul 17, 2015
  9. Jul 08, 2015
  10. Jul 03, 2015
  11. Jul 02, 2015
  12. Jun 29, 2015
  13. Jun 28, 2015
  14. Jun 26, 2015
Loading