Eric Lippmann
1e9337846a
ui: Fix refreshing partial time counters
...
refs #6778
2015-05-21 10:16:54 +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
Johannes Meyer
da7aa23820
Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876
2015-04-20 15:20:23 +02:00
Johannes Meyer
5196f16bde
Do not forcibly hide controls in the dashboard
...
Our views respect view=compact now entirely so there is no need for such
a generic "solution" since it also prevents some views from being
completely displayed in the dashboard such as the host, service and
contact detail view.
refs #7876
2015-04-20 13:06:45 +02:00
Matthias Jentsch
ce6be0cc0f
Only use JS tooltips when non-native tooltip behavior is required
...
Only display JS tooltips when there are specific requirements for delay, there is a specific alignment or HTML markup can be rendered in the tooltip.
fixes #9025
2015-04-20 11:21:10 +02:00
Johannes Meyer
54a370ca22
Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876
2015-04-20 11:15:04 +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
6898a4e0d5
Display icon tooltips without delay
...
Original functionality was broken when changing the icon library.
2015-04-16 18:32:47 +02:00
Matthias Jentsch
f07c0d83e8
Add option to change tooltip settings from data attributes
...
refs #9025
2015-04-16 18:32:47 +02:00
Matthias Jentsch
aa409bda72
Fix formatting of js error log entries generated from responses
...
Replace multiple whitespace characters with a single one and remove linebreaks.
refs #8711
2015-04-16 12:15:59 +02:00
Eric Lippmann
796cbffbd7
Merge branch 'master' into bugfix/time-formatting-6778
...
Conflicts:
modules/monitoring/application/views/scripts/show/components/notifications.phtml
2015-04-15 15:43:39 +02:00
Johannes Meyer
be05d3a73a
Fix dashboard header handling
...
refs #7876
2015-04-15 13:23:34 +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
0baeb32751
Temporary disable timesince ui counter
...
refs #6778
2015-04-09 12:05:45 +02:00
Eric Lippmann
0de2dbd626
Temporary disable timeuntil ui counter
...
refs #6778
2015-04-08 15:23:00 +02:00
Johannes Meyer
d6e5afa6d5
Fix that a menu section is not expanded in a popup when hovered
...
fixes #8695
2015-03-13 15:01:47 +01:00
Eric Lippmann
2e1ae185fb
Retain detail URL if the layout is rerendered after a redirect
...
refs #8605
2015-03-13 04:04:58 +01: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
b5abff0313
Fix that the detail URL is no longer appended to the redirect URL on login
...
JavaScript relied on #redirect but we now protect IDs which make them unusable
for JS and CSS.
refs #8728
2015-03-13 03:48:46 +01:00
Eric Lippmann
29d5fd351b
Merge branch 'bugfix/logout-external-8626'
...
fixes #8626
2015-03-12 16:47:49 +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
Thomas Gelf
3af36015ff
dashboard: do not fix and hide any controls
...
It would be better if view scripts would care about this, but as we
failed so many times this might be the better option.
fixes #8697
2015-03-12 10:04:19 +01:00
Eric Lippmann
7f94858b8d
Add JSDoc to Icinga.Loader.prototype.processRedirectHeader()
...
refs #8626
2015-03-11 21:26:44 +01:00
Eric Lippmann
031f9ddc84
Don't always redirect to the current window's URL if the redirect URL is __SELF__
...
Please see code comments for an explanation.
refs #8626
2015-03-11 21:24:56 +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
5297b15a61
Merge branch 'master' into feature/refresh-control-7968
2015-02-24 14:41:09 +01:00
Johannes Meyer
956efe5ef9
Merge branch 'master' into feature/link-labels-8458
...
Conflicts:
application/views/scripts/config/application.phtml
application/views/scripts/config/module.phtml
application/views/scripts/config/modules.phtml
library/Icinga/Web/Widget/Dashboard/Dashlet.php
modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Alexander Fuhr
aa5c52dfdd
Implement content refresh control next to dropdown tab
...
refs #7968
2015-02-23 17:02:44 +01:00
Johannes Meyer
04d2c78983
Allow to move content not wrapped by <div> to another container
2015-02-23 16:28:12 +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
2dda3be87b
Merge remote-tracking branch 'origin/master' into feature/organize-headings-7976
2015-02-23 14:28:48 +01:00
Matthias Jentsch
2992bf3445
Always display tooltips in all charts
...
Make information about data types available to colorblind, when hovering
over the displayed data set
fixes #8364
2015-02-18 13:21:42 +01:00
Marius Hein
d3c79dae32
Merge branch 'master' into feature/organize-headings-7976
2015-02-17 15:21:29 +01:00
Johannes Meyer
3dce0e434a
Add more sophisticated fix for keeping the focus after an autorefresh
...
fixes #8350
2015-02-17 09:24:38 +01:00
Marius Hein
ea57e7a786
History: Do not write abort requests to browser history
...
Remove req.historyTriggered and introduce req.addToHistory.
2015-02-16 15:56:50 +01:00
Marius Hein
6cc428d0e1
History: Combined cleanup regular expression
2015-02-16 15:38:16 +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
2aca4dc6d5
History: Do not push same url twice
2015-02-16 14:11:23 +01:00
Marius Hein
ae68e8aec4
Ajax onFailure: Write component URL to container
...
This is needed that history can push the correct detail url
2015-02-16 14:11:11 +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
Thomas Gelf
d10beb7604
js: no console.log. please!
2015-02-09 15:26:55 +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
Matthias Jentsch
2f254851e3
Fix pieChart layout and add indicator for truncated piecharts
2015-02-03 17:34:56 +01:00
Matthias Jentsch
e8466ec7be
Fix inlinePie borders and SVG sizes
...
Add white border to inline piecharts in the list, to make them more visible on mouse hovering. Set a default image size for the loaded svg charts.
2015-02-03 16:46:12 +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
Johannes Meyer
8bb0e4e0a0
Failure requests: Fix auto refresh and history II
...
Allow to change url's in history and stop auto auto refresh if
the container URL is not up to date.
Use variable after ajax call and the check is more robust.
2015-02-02 16:52:36 +01:00
Marius Hein
bc69a3b20f
Revert "Failure requests: Fix auto refresh and history"
...
This reverts commit 8c758a9f12
.
2015-02-02 16:40:05 +01:00
Johannes Meyer
a5fe9a1fe1
Revert "Introduce link target "_right" to keep a column with tabs rightmost"
...
This reverts commit 618ab4f4b9
.
2015-02-02 16:34:29 +01:00
Marius Hein
67a426580d
loader: Remove gray out on complete handler
...
A failure did not remove the impact class which colorize
the background gray.
2015-02-02 15:20:12 +01:00
Marius Hein
6555a2ec0a
Menu: Move request handling to complete
...
If a failure occur the menu is still working.
2015-02-02 15:03:36 +01:00
Marius Hein
8c758a9f12
Failure requests: Fix auto refresh and history
...
Allow to change url's in history and stop auto auto refresh if
the container URL is not up to date.
2015-02-02 13:32:40 +01:00
Marius Hein
190c1e8f04
Revert "Revert "Dashboard: Always replace title""
...
This reverts commit d1f13819e4
.
Please do not ask. This was no syntax error.
2015-02-02 12:04:28 +01:00
Marius Hein
d1f13819e4
Revert "Dashboard: Always replace title"
...
This reverts commit c0c0e7d9e5
.
Syntax error
2015-02-02 12:01:40 +01:00
Marius Hein
c0c0e7d9e5
Dashboard: Always replace title
...
This is needed if an error occurs and the exception title was rendered
into the container.
2015-02-02 12:00:08 +01:00
Marius Hein
7b8332ccd8
Notifications do not disappear after autorefresh
...
This is not affected anymore because the errors goes directly
into the container. But this commit fixes the codes if someone
use the notifications in the loader. Also remove unused
variable this.exception.
fixes #6278
2015-01-30 15:25:12 +01:00
Marius Hein
6ec2ee753d
Render error messages in the container itself
...
fixes #6280
2015-01-30 14:50:25 +01:00
Marius Hein
4abb30e55b
Merge branch 'master' into bugfix/ie8-fixes-6417
2015-01-28 17:08:56 +01:00
Johannes Meyer
618ab4f4b9
Introduce link target "_right" to keep a column with tabs rightmost
...
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..
refs #6436
2015-01-28 14:21:06 +01:00
Marius Hein
7ef86ddf49
Navigation: Bypass error-prone hover selector for IE8
...
refs #6417
2015-01-28 13:19:49 +01:00
Matthias Jentsch
3d07049fbf
Re-render menu item after setting class to active
...
Force the browser to re-render the menu item, to update the link layout immediately
by recreting the content html.
fixes #7897
2014-12-29 16:21:10 +01:00
Matthias Jentsch
cda5a6a903
Streamline chart implementation
...
Define sparkline layout through CSS class and remove label/tooltip formatting.
fixes #7077
2014-12-23 15:26:45 +01:00
Matthias Jentsch
64a2acd12e
Do not display labels for single data sets in perfdata piecharts
...
Display generic chart titles for the whole piechart that only contain title and percentage and don't style perfdata piecharts using HTML properties.
refs #7077
refs #6200
refs #7304
2014-12-23 15:14:17 +01:00
Marius Hein
b0382da5fe
JS/submitForm: Choosing the right submit button in FF
...
refs #7751
2014-11-20 11:07:10 +01:00
Johannes Meyer
f64b3c1439
Fix that the current page of our list view pagination is not being highlighted
...
fixes #7492
2014-11-14 11:58:29 +01:00
Alexander Fuhr
6ee0c218e9
Remove debug `console.log()' from `provideSelectionCount()'
...
refs #7654
2014-11-14 10:18:47 +01:00
Alexander Fuhr
540a8c7aa4
Fix hint counter on unselect the last row
...
refs #7654
2014-11-14 10:17:23 +01:00
Alexander Fuhr
46df428e28
Add selection count hint in grids with help for hosts and services
...
refs #7654
2014-11-13 12:50:39 +01:00
Johannes Meyer
f7d168c80f
Fix that FireFox < v33 is unable to find the button that got the focus
2014-11-07 14:22:03 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Thomas Gelf
95f9bebdc5
js/loader: support multi-container redirection
...
Redirections to #!-separated URLs (multiple containers) should also
work when not re-rendering the whole layout.
2014-11-01 01:23:55 +01:00
Thomas Gelf
6298d303c4
js/loader: trigger 'beforerender' container event
2014-11-01 01:12:59 +01:00
Thomas Gelf
f25f4f06d8
js/loader: disable click handler block on refresh
...
This used to be ways too slow when many elements where involved. Left
the old code there as a reminder. In case we really need it we should
use something faster like an overlay or so.
2014-11-01 01:11:12 +01:00
Johannes Meyer
9f127be1dc
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00
Matthias Jentsch
6124f984ee
Adjust scroll position on container after triggering the 'rendered' event
...
Prevent behaviors from altering the current scroll-position on page reload when refreshing or changing the focus.
fixes #7269
2014-10-14 15:50:15 +02:00
Johannes Meyer
62544111ff
Fix that when pushing ENTER in a form with just <buttons> no button is sent
2014-10-09 13:42:15 +02:00
Matthias Jentsch
ee63dfd310
Update navigation when the url of the main column changes
2014-10-01 17:47:21 +02:00
Matthias Jentsch
ec9e9e8dfb
Get correct navigation link id on first render
2014-10-01 16:49:30 +02:00
Matthias Jentsch
fa2c9e46ed
Cleanup comments and whitespaces
2014-10-01 16:48:38 +02:00
Matthias Jentsch
ed91e119d2
Add close-button to all containers
...
refs #6216
2014-10-01 14:51:51 +02:00
Alexander Fuhr
07a4b25560
Merge branch 'master' into bug/history-notification-time-format-6980
2014-09-23 11:38:24 +02:00
Alexander Fuhr
e784aa34b6
Implement DateTimeRenderer and fix history time format
...
refs #6980
2014-09-23 11:36:09 +02:00
Matthias Jentsch
ef2f332869
Do not refresh a container when form input was changed or a form element is focused
...
Listen for changes in form elements and abort all reloads that contain a form with
at least one changed form element. Do not refresh containers that contain a focused form
element, except of elements with autofocus, to preserve form elements with a dropdown.
Only focus autofocus elements when there is currently no other selection.
refs #7146
refs #5537
fixes #7162
2014-09-19 15:48:44 +02:00
Matthias Jentsch
7f0a2d540b
Tell navigation behavior about changes in active menus
...
fixes #7181
2014-09-12 15:01:25 +02:00
Matthias Jentsch
ad53f7ad3d
Use EventEmitter class as a way to delegate events from behaviors to the dom
2014-09-12 09:09:21 +02:00
Matthias Jentsch
2e0bef5696
Add missing event unbind
2014-09-10 17:10:08 +02:00
Matthias Jentsch
0ec97eb934
Only apply navigation link-click handlers to menu
2014-09-10 17:02:39 +02:00
Matthias Jentsch
e216ba6721
Merge stash
2014-09-10 17:02:39 +02:00
Matthias Jentsch
7aadad913e
Do not follow empty menu links
2014-09-10 17:02:39 +02:00
Matthias Jentsch
cb9c9c78d8
Move navigation events into behavior
2014-09-10 17:02:39 +02:00
Matthias Jentsch
c0908e32ba
Remove unused behavior base-class
2014-09-10 17:02:39 +02:00
Matthias Jentsch
f58da73e2d
Move javascript behaviors into separate classes
2014-09-10 17:02:39 +02:00
Matthias Jentsch
5d2e849491
Apply behaviors correctly on startup
2014-09-10 17:02:39 +02:00
Matthias Jentsch
d99d50b3c4
Add stub for javascript behaviors
2014-09-10 17:02:38 +02:00
Matthias Jentsch
da7e599363
Only remove active elements in navigation on reload
2014-09-09 16:32:15 +02:00
Matthias Jentsch
b7c207a9cb
Do not drop preselection in the navigation on reload
2014-09-09 15:32:07 +02:00
Matthias Jentsch
157818c8e7
Fix navigation reload
...
Activate the correct menu item with JavaScript after relaod and don't
render it on server-side on XHR requests.
2014-09-09 13:57:48 +02:00
Matthias Jentsch
56b779af4d
Clean up mousemove handler and remove unused tooltip code
2014-09-08 16:46:47 +02:00
Matthias Jentsch
28f5ef2284
Fix elementsOverlap function for SVG elements
...
Access SVG getBBox function to acquire the bounding box for SVG elements
2014-09-08 16:37:20 +02:00
Matthias Jentsch
545db945da
Auto refresh menu
...
Put the navigation into a container and reload it once every 15 seconds from a distinct menu action. Include the current
path into an URL param to still be able to mark the current menu item as active.
fixes #6955
2014-09-08 15:21:14 +02:00
Marius Hein
f2df8d9bae
Timezone detection: Set cookie expiration to 1 day
...
refs #6078
2014-09-05 15:24:13 +02:00
Marius Hein
a300877878
Time detection: Add receiever to bootstrap method
...
refs #6078
2014-09-05 15:24:13 +02:00
Marius Hein
3ce42489c6
Timezone detection: Client implementation
...
refs #6078
2014-09-05 15:24:13 +02:00
Thomas Gelf
0b53f30b08
js/events: ignore mailto links
...
fixes #7079
2014-09-05 15:05:22 +02:00
Matthias Jentsch
eeed030bb5
Do not use an invalid HTML attributes for rich titles
2014-09-04 13:32:30 +02:00
Matthias Jentsch
e5be8d47ef
Fix SVG bound calculation for tooltips in Firefox
2014-09-04 09:53:57 +02:00
Matthias Jentsch
868e8b25b6
Fix left over tooltips after reloads with layout shift
2014-09-04 09:32:15 +02:00
Matthias Jentsch
510e38335e
Remove useless tooltip from host and service list
...
remove titles from time spans on all td.state, since the formatted time
is already displayed in the inner div
2014-09-03 17:43:43 +02:00
Matthias Jentsch
da85112538
Merge branch 'master' into feature/svg-chart-tooltips-7024
2014-09-03 17:08:00 +02:00
Matthias Jentsch
b10b1ea034
Add jQuery tooltips
2014-09-03 15:53:56 +02:00
Thomas Gelf
ef847801f2
js/loader.js: preserve scrolling position...
...
...on autorefresh and reset it otherwise.
fixes #6285
fixes #6988
2014-09-02 20:11:37 +02:00
Thomas Gelf
f12a5741b8
js/loader: postpone redirection handling
...
Redirections should not be executed unless the original request has been
terminated and removed from pending requests.
fixes #6989
2014-09-02 19:05:49 +02:00
Thomas Gelf
538c6cf90b
js/events: ignore button/submit clicks
...
In case you clicked a (submit) button in an action row this also
also triggered that row's click handler. As the event is going to be
stopped there, this leads to "unsubmittable forms". Fixed.
fixes #6963
2014-08-20 09:26:16 +02:00
Thomas Gelf
686152abf3
js/events: fix a small bug introduced right now
...
Links on non-multiselect action tables stopped working.
refs #6705
2014-08-19 19:04:29 +02:00
Alexander Fuhr
ba748cbc4a
Refactor multiSelect and highlight
...
refs #6705
2014-08-19 18:33:28 +02:00
Alexander Fuhr
6fe47bf5b0
Fix rows highlighting after refresh
...
fixes #6705
2014-08-19 17:32:17 +02:00
Thomas Gelf
f40ada6c81
js/ui: check whether a link tag has a type
...
The new favicon didn't have such, resulting in JS error when reloading
CSS at runtime.
2014-08-19 12:23:51 +02:00
Thomas Gelf
512e7d516b
js/loader: Handle __SELF__ in redirection URLs
...
That's one more step to smoothly handle #! URLs, especially when you
are not yet authenticated.
refs #6935
2014-08-19 10:00:29 +02:00
Thomas Gelf
3ccfbec53c
js/history: no additional container at login
...
History tries to load additional URLs separated by #! on page load. This
makes no sense on login page. However we need to preserve them when logging
in.
refs #6935
2014-08-19 09:22:10 +02:00
Johannes Meyer
7958a81975
Fix that a form's submit button is not being sent when the method is GET
...
fixes #6890
2014-08-12 12:49:03 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Thomas Gelf
329b1cf960
js/loader: correctly get rid of data
...
I'm unsure whether this is a jQuery bug or not. The removeData()
function has no effect unless there is a matching data attribute.
Makes IMO no sense, as adding the attribute automagically adds data,
so why should removing it differ.
This patch makes sure that the corresponding attribute is removed too.
Fixes "dashboard sometimes flickering on refresh".
refs #6536
2014-07-08 20:10:44 +02:00
Thomas Gelf
bbc0c36225
js/loader: remove pending request on form redirect
...
Our redirection helper catching forms redirecting to their source
while being shown right-hand left a pending request. Abort was triggered,
but had no effect as the request has already been completed.
fixes #6619
2014-07-07 20:12:49 +02:00
Thomas Gelf
590db51255
js/loader: handle form redirections automagically
...
An XHR redirection in a right-side container pointing to the URL
shown on the left should close it's own container and refresh the
lefthand one.
refs #6436
fixes #6435
2014-06-30 16:19:05 +02:00
Thomas Gelf
30106a9cbd
js/loader: autorefresh requests should run parallel
...
The check whether a request was already running failed as soon as
another request was activ. Now they run as they should.
2014-06-25 20:15:44 +02:00
Thomas Gelf
1385667edc
js/responsiveness: respect singlecolumn layouts
...
Target _next now depends on current layout
2014-06-24 07:46:37 +02:00
Thomas Gelf
0604d30348
js/loader: stop pending subcontainer requests
...
When redrawing a container we should cancel it's subcontainers pending
requests. This also fixes stopPendingRequestsFor(), it didn't really
work before.
2014-06-24 07:01:37 +02:00
Thomas Gelf
90bb20f4c3
js/ui: add toggleDebug function
2014-06-24 06:41:57 +02:00
Thomas Gelf
473a705e2e
Assign unique ids to dashlets and subcontainers
...
Without this we have no chance to cancel pending requests for dashlets.
fixes #6552
2014-06-24 06:40:08 +02:00
Thomas Gelf
ef0963af38
js/events: ignore javascript: in links
2014-06-24 06:35:52 +02:00
Thomas Gelf
6f19bb13b8
js/loader: ignore focus on autosubmitting elements
...
Autorefresh response is not rendered while your focus sits in a form.
This is not so useful for autosubmitting elements, let's ignore them.
2014-06-23 14:04:02 +02:00