generic-poky/bitbake/lib/toaster/toastergui/static/js
Elliot Smith dd784598cd bitbake: toaster: reset table to default orderby when orderby column is hidden
When a ToasterTable is sorted by a column, and that column is
hidden from view, the sort doesn't revert to the default for the
table.

Modify the JS responsible for reloading the table data so that
it doesn't rely on clicking a table column heading (as this is
inflexible and error-prone). Instead, use a function to apply
the sort to the table; and call that function when column
headings are clicked.

This means that the ordering can be changed programmatically
to a specified default ordering when a column is hidden, without
having to click on a column heading.

Use this function when the current sort column is hidden, to
apply the default sort for the table.

[YOCTO #9836]

(Bitbake rev: a28377067b6f381bbc98db82f5c45fca6620f7ad)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-11 00:09:27 +01:00
..
tests bitbake: toaster: js tests Twitter typeahead library object is now ttTypeahead 2016-06-15 08:35:06 +01:00
.jshintrc bitbake: toaster: libtoaster Fix a few warnings picked up by jshint 2015-03-09 14:33:54 +00:00
bootstrap.js bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3 2016-06-15 08:35:03 +01:00
bootstrap.min.js bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3 2016-06-15 08:35:03 +01:00
customrecipe.js bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3 2016-06-15 08:35:03 +01:00
filtersnippet.js bitbake: toaster: filtersnippet remove redefinition of filter type key 2015-05-08 17:42:06 +01:00
importlayer.js bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3 2016-06-15 08:35:03 +01:00
jquery-2.0.3.min.js bitbake: toaster: update static media for Toaster GUI 2014-01-10 15:20:25 +00:00
jquery-2.0.3.min.map bitbake: toaster: fix no newline at end of file 2014-07-04 09:28:36 +01:00
jquery-ui.min.js bitbake: toaster: build date range selections static sources 2015-03-25 12:39:53 +00:00
jquery.cookie.js bitbake: toaster: add jquery cookie plugin 2014-01-27 21:01:04 +00:00
jquery.treetable.js bitbake: toaster: Improve directory structure layout 2015-10-16 14:13:21 +01:00
jsrender.min.js bitbake: toaster: move most recent builds templating to client 2016-08-11 00:09:26 +01:00
layerBtn.js bitbake: toaster: layerBtn avoid connecting handler to other build buttons 2016-07-08 09:57:27 +01:00
layerDepsModal.js bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3 2016-06-15 08:35:03 +01:00
layerdetails.js bitbake: toaster: Replace references to LayerSource models 2016-07-26 08:10:36 +01:00
libtoaster.js bitbake: toaster: show loading spinner after creating custom image 2016-08-11 00:09:27 +01:00
mrbsection.js bitbake: toaster: tweak styling and typos in recent builds area 2016-08-11 00:09:26 +01:00
newcustomimage_modal.js bitbake: toaster: show loading spinner after creating custom image 2016-08-11 00:09:27 +01:00
prettify.js bitbake: toaster: update static media for Toaster GUI 2014-01-10 15:20:25 +00:00
projectpage.js bitbake: toaster: add Layer delete front end feature to layerdetails 2016-07-08 09:57:29 +01:00
projecttopbar.js bitbake: toaster: ui handles duplicate project name in project page 2016-05-11 11:32:58 +01:00
qunit-1.18.0.js bitbake: toaster: Add quint to project so that it can be used offline 2016-04-06 23:10:31 +01:00
recipedetails.js bitbake: toaster: add build dashboard buttons to edit/create custom images 2016-04-19 21:11:26 +01:00
table.js bitbake: toaster: reset table to default orderby when orderby column is hidden 2016-08-11 00:09:27 +01:00
typeahead.jquery.js bitbake: toaster: work-around our lack of a synchronous fetch for typeaheads 2016-06-15 08:35:03 +01:00
ui-bootstrap-tpls-0.11.0.js bitbake: toaster: we add static copies of AngularJS and related libraries 2014-10-30 13:39:49 +00:00
ui-bootstrap-tpls-0.11.0.min.js bitbake: toaster: we add static copies of AngularJS and related libraries 2014-10-30 13:39:49 +00:00