Matthias Jentsch
3a85dc7f39
Display the table on single-selection rows as active without any delay
...
refs #8623
2015-07-29 14:32:26 +02:00
Matthias Jentsch
cbb9ef10a2
Remove single selections correctly when going back in the history
2015-07-28 15:21:14 +02:00
Matthias Jentsch
f2d253f508
Assure that rows are refreshed correctly on reload
...
Assure that all links are initialized when the selection is applied after a request. Move action table code into the actiontable behavior.
refs #8623
2015-07-27 10:34:17 +02:00
Johannes Meyer
570dada0d8
js: Manually submit the form if it's being automatically submitted...
...
...in case we're submitting a multipart/form-data form using the iframe
fallback. The form wouldn't be submitted otherwise.
refs #8758
2015-07-21 14:15:12 +02:00
Johannes Meyer
37b87eb284
js: Add fallback in case XHR file uploads are not possible
...
refs #8758
2015-07-20 10:52:28 +02:00
Johannes Meyer
95bcb95cb5
events.js: Prevent default form submission as late as possible
2015-07-20 10:13:48 +02:00
Johannes Meyer
6d4d99aa62
js: Use window.FormData instead of just FormData
...
refs #8758
2015-07-15 15:49:34 +02:00
Johannes Meyer
c1d9cde312
js: Properly submit multipart/form-data
...
This is not IE <10 compatible. Fix follows. ;-)
refs #8758
2015-07-15 15:25:40 +02:00
Matthias Jentsch
aecfb2eb97
Merge branch 'bugfix/multiselection-not-visible-9054'
...
fixes #9054
fixes #9346
2015-06-30 14:08:19 +02:00
Matthias Jentsch
975a834bd4
Remove unused code and clean up
2015-06-30 12:28:41 +02:00
Matthias Jentsch
96677fb6c7
Fix selection when clicking on regular links
...
refs #9054
refs #9346
2015-06-29 18:51:32 +02:00
Matthias Jentsch
aec59d9941
Use current filter to highlight active rows instead of storing active rows in JS
...
Clean up selection code and move it into separate behavior and parse filter query to fetch selectable rows.
refs #9054
refs #9346
2015-06-29 18:48:42 +02:00
Johannes Meyer
ebe144c16a
Form: Do not encode actions twice
2015-06-24 16:15:45 +02:00
Thomas Gelf
cd70c27519
Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361
2015-06-18 15:18:42 +02:00
Thomas Gelf
55dd3747f7
notifications: remove on click
...
This allows one to get rid of them faster in case access to the
underlying content is needed
2015-06-18 13:29:47 +02:00
Thomas Gelf
09c0ebcacd
list/services: flip host/service for readability
...
Re-allow table.action to manually choose row action link if it should not
be the first one. This existed once but got lost.
2015-06-16 02:36:53 +02:00
Eric Lippmann
1bfbce98ac
Disable all form controls on submit to prevent resubmission
...
fixes #7151
2015-05-28 13:17:00 +02:00
Matthias Jentsch
54207d3427
Revert "Abort pending AJAX requests before page unload"
...
This reverts commit 94bdb8b4b0
. After the patch, Firefox shows an error message on each reload for an unknown reason.
refs #7759
2015-05-19 17:06:22 +02:00
Matthias Jentsch
94bdb8b4b0
Abort pending AJAX requests before page unload
...
Abort all pending requests before the page unload, to avoid confusing error messages during page reloads. Avoid rendering the site unusable in cases where the site is still being used after the beforeunload event.
fixes #7759
2015-05-19 16:35:44 +02:00
Matthias Jentsch
7c8ff44fd1
Fix comment and downtime list inline forms
...
refs #8903
refs #8902
2015-05-07 10:59:37 +02:00
Thomas Gelf
ae7d679a6a
Revert "Do not destroy all global on mailto link clicks"
...
This reverts commit 16b9c73436
.
As I already mentioned, this re-introduces the problem that you'll
get ugly "lost connection to web server" notifications. Easiest way
to reproduce this: click your browsers reload button while a request
is pending - or just click reload a couple of times while showing the
dashboard.
refs #7759
2015-04-16 21:01:08 +02:00
Matthias Jentsch
1f0940c8e8
Remove all selections closing the detail area
...
fixes #8781
2015-04-13 17:55:41 +02:00
Matthias Jentsch
f4c0b35eff
Remove unused code
2015-04-13 17:55:41 +02:00
Matthias Jentsch
16b9c73436
Do not destroy all global on mailto link clicks
...
Only call the cleanup code on the unload event, beforeunload is only for asking for confirmation.
fixes #7759
2015-04-13 17:55:41 +02:00
Eric Lippmann
1bd2e7cb84
Submit forms to the container's target URL if the form's action is not set
...
refs #8605
2015-03-13 04:02:42 +01:00
Eric Lippmann
8b7250bfa6
JS: Focus the element referenced by the anchor on anchor navigation ...
...
... instead of looking for any heading.
2015-03-12 16:08:47 +01:00
Eric Lippmann
77b99552a4
Add JSDoc to Icinga.Events.prototype.handleAnchor()
2015-03-12 16:08:47 +01:00
Eric Lippmann
90971f2caf
Revert "Merge branch 'feature/organize-headings-7976'"
...
This reverts commit ea2a17a76c
, reversing
changes made to e72de8dfe1
.
refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Thomas Gelf
5270acd645
events.js: correctly detect form target container
...
This is for forms with no submit button.
fixes #8710
2015-03-12 11:30:21 +01:00
Johannes Meyer
cddcde9494
Setup: Automatically check the respective admin account type selection
...
resolves #8603
2015-03-06 15:41:25 +01:00
Johannes Meyer
4351603243
Fix that editing an auth backend does not open the next column
2015-02-26 14:48:37 +01:00
Alexander Fuhr
16200417eb
Add spinner active indicator for form submit buttons
...
refs #7968
2015-02-25 14:15:32 +01:00
Alexander Fuhr
4505718ecc
Move spinner indicator functionality to linkClicked method
...
refs #7968
2015-02-25 12:10:08 +01:00
Alexander Fuhr
aa5c52dfdd
Implement content refresh control next to dropdown tab
...
refs #7968
2015-02-23 17:02:44 +01:00
Marius Hein
44019f4e67
Events: Quick fix for access the focusable element
...
refs #7976
2015-02-23 16:06:21 +01:00
Marius Hein
d3c79dae32
Merge branch 'master' into feature/organize-headings-7976
2015-02-17 15:21:29 +01:00
Johannes Meyer
0c0478688e
js: Fix that buttons with any DOM descendants are not ignored by linkClicked
...
fixes #8380
2015-02-16 15:07:31 +01:00
Marius Hein
cd11cf3469
Fix close button: Test the anchor if it belongs to us
2015-02-13 11:47:16 +01:00
Marius Hein
7ca2e1d282
Fix close button: Test the anchor if it belongs to us
2015-02-13 11:45:20 +01:00
Marius Hein
bcc03f8160
Focus: Set the focus to the next usable element
...
Fix copy and paste error and find h1 first.
refs #7976
2015-02-13 11:39:28 +01:00
Eric Lippmann
9bf8488f68
js: Remove out-commented function hrefIsHashtag from events.js
2015-02-13 09:59:34 +01:00
Marius Hein
f586714f02
Skip Links: Select a more useful object
...
Skip links can select a container and find a usable element inside. Adapt
project jquery variable style.
refs #7976
2015-02-12 16:34:50 +01:00
Marius Hein
53818f50c6
Skip Links: Add anchor handlint to events
...
refs #7933
2015-02-12 13:13:52 +01:00
Johannes Meyer
423025b3fe
javascript: Do not bind the button click event
...
Catching form submit events is sufficient as catching the button click
event is not an option due to circumventing the browser's native form
validation logic otherwise.
refs #8349
2015-02-05 13:21:03 +01:00
Matthias Jentsch
b56eb7b669
Fix keyboard navigation
...
Store current focus position before reload and apply it after rendering.
fixes #8350
2015-02-04 18:01:06 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Thomas Gelf
f6fc592b91
events.js: reduce logging noise
...
Form submission by pressing return is not an error, and debug level
should suffice for the other button-related notices too.
2015-02-02 21:56:14 +01:00