diff options
| author | Kevin McCarthy <kmccarth@redhat.com> | 2007-10-02 10:49:44 -0700 |
|---|---|---|
| committer | Kevin McCarthy <kmccarth@redhat.com> | 2007-10-02 10:49:44 -0700 |
| commit | 5750ebdd831f7f3e2dd5c08031a258ee448c7afa (patch) | |
| tree | 8d45de3dc2433f5c42d2cf2204176e9e003d7c5e /ipa-server/ipa-gui/ipagui/static/javascript/tablekit.js | |
| parent | 050157ace0dee714ac71384d6362c38a204f3bf7 (diff) | |
| download | freeipa-5750ebdd831f7f3e2dd5c08031a258ee448c7afa.tar.gz freeipa-5750ebdd831f7f3e2dd5c08031a258ee448c7afa.tar.xz freeipa-5750ebdd831f7f3e2dd5c08031a258ee448c7afa.zip | |
Assorted UI fixes:
- Change sort functions to be on entities, so can use on the view pages too
- Fix bug: empty ajax search on useredit blows up
- Filter illegal characters from suggest uid/email methods
- Rename first/last name fields
- Make default font family sans-serif
- Speed up effect appear/fade rendering
- Add buttons to top and bottom of pages
- Make grouplist sortable
- Add noscript warning to welcome page
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/static/javascript/tablekit.js')
| -rw-r--r-- | ipa-server/ipa-gui/ipagui/static/javascript/tablekit.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ipa-server/ipa-gui/ipagui/static/javascript/tablekit.js b/ipa-server/ipa-gui/ipagui/static/javascript/tablekit.js index 2851f8431..540369489 100644 --- a/ipa-server/ipa-gui/ipagui/static/javascript/tablekit.js +++ b/ipa-server/ipa-gui/ipagui/static/javascript/tablekit.js @@ -291,7 +291,9 @@ TableKit.Sortable = { if(cell.hasClassName(op.noSortClass)) {return;} - order = order ? order : (cell.hasClassName(op.descendingClass) ? 1 : -1); + // order = order ? order : (cell.hasClassName(op.descendingClass) ? 1 : -1); + // kmccarth - change default sort order to ascending + order = order ? order : (cell.hasClassName(op.ascendingClass) ? -1 : 1); var rows = TableKit.getBodyRows(table); if(cell.hasClassName(op.ascendingClass) || cell.hasClassName(op.descendingClass)) { @@ -843,4 +845,4 @@ if(window.FastInit) { FastInit.addOnLoad(TableKit.load); } else { Event.observe(window, 'load', TableKit.load); -}
\ No newline at end of file +} |
