Commit Graph

590 Commits

Author SHA1 Message Date
Eric Lippmann 875d42c0a6 Revert "Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'"
This reverts commit f517c62fde, reversing
changes made to d1fd7e4be7.

refs #10704
2016-11-21 14:34:58 +01:00
Eric Lippmann f517c62fde Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'
fixes #10704
2016-11-21 14:33:43 +01:00
Thomas Gelf d1fd7e4be7 loader.js: place focus at the end of text inputs 2016-11-21 11:39:03 +00:00
Alexander A. Klimov 3363e6795f JS: use $(parent).find(child) instead of $(child, parent)
refs #10704

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-21 10:46:31 +01:00
Thomas Gelf ce6fa235cb js/loader: do not steal focus placed by module 2016-11-16 10:49:28 +00:00
Jennifer Mourek 3338040952 actiontable.js: Update row counter when detail area is closed
refs #10691
2016-10-28 08:08:42 +02:00
Eric Lippmann 118c435bc5 JS: Fix usage of global variable self used to reference icinga in events.js
refs #10703
2016-09-09 13:22:10 +02:00
Eric Lippmann 7e47a2965c JS: Fix usage of global variable self used to reference icinga in loader.js::onComplete()
refs #10703
2016-09-09 13:22:08 +02:00
Alexander A. Klimov cf5e26c56c Avoid local variable name `self' in ui.js
refs #10703
2016-09-01 16:32:31 +02:00
Alexander A. Klimov 4f52beb32a Avoid local variable name `self' in module.js
refs #10703
2016-09-01 16:30:01 +02:00
Alexander A. Klimov 56c10ffdd5 Avoid local variable name `self' in loader.js
refs #10703
2016-09-01 16:28:57 +02:00
Alexander A. Klimov e726f10e68 Avoid local variable name `self' in history.js and timer.js
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov 3c43d38171 Avoid local variable name `self' in events.js
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov 4e2c626ae0 Avoid local variable name `self' in eventlistener.js
refs #10703
2016-09-01 16:16:49 +02:00
Alexander A. Klimov 060a82fa4a Avoid local variable name `self' in tooltip.js and tristate.js
refs #10703
2016-09-01 15:58:32 +02:00
Alexander A. Klimov 0d7f8148de Avoid local variable name `self' in navigation.js
refs #10703
2016-09-01 15:49:39 +02:00
Alexander A. Klimov 0059622bba Avoid local variable name `self' in form.js
refs #10703
2016-09-01 15:42:54 +02:00
Alexander A. Klimov 311fd36326 Avoid local variable name `self' in actiontable.js
refs #10703
2016-09-01 15:21:45 +02:00
Alexander A. Klimov f72411c628 Avoid local variable name `self' in icinga.js
refs #10703
2016-09-01 15:09:50 +02:00
Johannes Meyer 1993ae2ed2 js: Fix that the menu is not reloaded in case no search is available
fixes #12541
2016-08-25 08:54:04 +02:00
Eric Lippmann cefdc496ef Forms: Remember submit from click event before
This helps Safari to determine the correct clicked or pressed submit button in case the form has more than one.
2016-06-27 10:41:16 +02:00
Alexander A. Klimov 4a78fa6a66 List views: handle clicks on mailto: and http:// links as expected
refs #11267
2016-06-02 10:43:34 +02:00
Marc DeTrano 621c0dbcad Support data URIs in href
resolves #11495

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2016-04-13 12:59:09 +02:00
Eric Lippmann 93b50fe484 Refresh menu but keep search text if not focused
fixes #11128
2016-04-11 14:24:23 +02:00
Eric Lippmann 31adfb8a9f Don't add the port twice when reloading CSS 2016-04-06 12:09:49 +02:00
Florian Strohmaier 9e0bee5006 Fix mispositioned mobile menu icon
fixes #11099
2016-03-31 14:00:27 +02:00
Thomas Gelf b6fd4f5584 events.js: do not apply event handlers without...
...an Icinga object. Added a log line, eventually we'll catch this one
far day :)
2016-02-29 22:11:30 +01:00
Thomas Gelf 28204762ab js: fix urls for dynamic css/js reloads 2016-02-29 21:40:48 +01:00
Thomas Gelf 96f50c5dfa loader.js: fix JS error on IE 2016-02-29 21:18:46 +01:00
Thomas Gelf 29eedc1d4a navigation.js: remove forgotten console.log 2016-02-29 21:08:26 +01:00
Florian Strohmaier 0c34c20640 Prepare close-container for behavior implementation
refs #8590
2016-02-27 15:07:10 +01:00
Alexander A. Klimov af18334e3e Cookie icingaweb2-tzo: use `-' as separator
fixes #11126
2016-02-25 13:21:34 +01:00
Alexander A. Klimov a2a96be8c9 Display ISO date and time when a connection was lost
refs #10625
2016-02-22 11:24:19 +01:00
Alexander A. Klimov c4a69191a3 JS: implement Icinga.Utils.padString()
refs #10625
2016-02-22 11:14:41 +01:00
Alexander A. Klimov dc6ea11415 JS: Encode URLs shown in responsive debug element 2016-02-19 14:27:14 +01:00
Alexander A. Klimov 11ea7d99d7 Escape messages of notifications loaded by JavaScript 2016-02-19 14:10:58 +01:00
Alexander A. Klimov a493c3469c JS: implement Icinga.Utils.escape() 2016-02-19 14:05:05 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann e468329051 JS: Keep search field focus
fixes #11029
2016-02-02 08:40:35 +01:00
Eric Lippmann b5cbf49433 JS: Fix login autofocus 2016-01-28 12:29:42 +01:00
Eric Lippmann 41c942d197 JS: Maintain auto-refresh interval over redirects
This is far from beautiful. But JS needs a revamp anyway.
Request should be an object and should be passed from function to function in order to maintain state.
2016-01-27 09:19:12 +01:00
Eric Lippmann c963ee23ff JS: Ignore autosubmit elements in the form behavior 2016-01-27 09:12:42 +01:00
Eric Lippmann 7ede8124cb Pagination: Focus active after next or prev exceeded
I'd like to see behaviors for components instead of patching loader/events all the time.
2016-01-25 07:23:12 +01:00
Eric Lippmann 4c4e8e4ac2 monitoring: Re-focus check now and alike 2016-01-22 13:33:59 +01:00
Eric Lippmann 2f9ffa65d7 JS: Ignore ids forms and form controls in getCSSPath()
Id generation is unreliable.

refs #10992
2016-01-20 18:10:04 +01:00
Eric Lippmann e1eb505986 JS: Maintain autosubmit focus 2016-01-18 13:28:36 +01:00
Eric Lippmann ebab4e8473 JS: Ignore ids startings w/ form_ in getCSSPath
protectId makes ids change over subsequent requests.
2016-01-18 13:27:02 +01:00
Eric Lippmann 7a6d61ceaa JS: Re-focus visible elements only
Don't try to re-focus links from dropdown tabs example because they're no longer visible if the page has been loaded.
2016-01-18 12:50:27 +01:00
Eric Lippmann 3ab5b5b721 Fix skip to content jump link 2016-01-18 12:50:27 +01:00
Eric Lippmann 81d73bb5e4 JS: Try to maintain focus 2016-01-18 12:50:27 +01:00