summaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Un-revert "Changed the rendering order of TabSheet tabs to prevent an NPE in ↵Henri Sara2014-01-161-5/+4
| | | | | | isClipped (#12343)" This reverts commit 73397508dbcf2256ac5199c18be2cf48d4e4cccc.
* Revert "Changed the rendering order of TabSheet tabs to prevent an NPE in ↵Henri Sara2014-01-151-4/+5
| | | | | | isClipped (#12343)" This reverts commit 5b56eeb521fdb92df5434647a8db27f0a45f09b9.
* Update textbox when Select item caption changes (#9250)Tomi Virtanen2014-01-151-7/+26
| | | | | | | Fixed logic that detects changed item caption and triggers update to textbox text. Changed test case description. Change-Id: I9fbb0cc686e73404bab8e624a5332644cca53737
* Selected option is updated when item caption changes in Select (#9250)Tomi Virtanen2014-01-091-19/+16
| | | | | | Fixed ComboBoxConnector to update input-element text to match the changed item caption. Added SelectItemCaptionRefresh test case and TestBench2 (html) test for it. Change-Id: I45b2168aab27f83203a59500715ac9aca5357412
* Fix for scrolling with modal opened. (#12899)Felype Santiago Ferreira2014-01-091-0/+7
| | | | Change-Id: I9ba142a35ab887bb3a71c7311064ebab77bc01ba
* Ignores scroll events while update from server is in progress (#11454)Jarno Rantala2014-01-091-2/+36
| | | | | | | | | When ItemSetChange event occurs, it will recreate the rows in client side. This will mess up the scroll position in scrollBodyPanel when its content is removed. This why the onScroll events should be ignored until the scroll position is reset by lazyScroller. Change-Id: Ib70e0dd7b730d4745a84742509145658e35d517e
* Ensure event listener is a widget before casting #13130John Ahlroos2014-01-071-1/+1
| | | | Change-Id: I7f106356116d73eebbfeeee52d61d8d7a7117b3e
* Upload control with empty selection (#9602)Tomi Virtanen2014-01-072-6/+15
| | | | | | Event is now sent on submit even if no file is selected. Removed forceSubmit UIDL attribute and replaced it with a UploadClientRpc call. Added TestBench3 test. Change-Id: Id32b82532ec34e61a9c0718413fd1755015d2c30
* Moved selection of selected rows in TableConnector to occur after the new ↵Jarno Rantala2014-01-071-3/+3
| | | | | | | | | | | | rows are created (#13008) The selection of selected rows happened before the new rows were created. This resulted in situation where the visible items on server side were different than the rows in scrollbody during the selection of selected rows. Therefore, the selected keys in uidl contained wrong information and some selected rows was marked as unselected even though they shouldn't. This again resulted in the original bug that all the rows was not selected because the 'selectionRangeStart' row was not selected anymore. Change-Id: I9f985cb45c97bacb6b71e36fa4bf077a1ac1311d
* Properly remove shadow event listeners to prevent IE8 memory leak (#13129)Teppo Kurki2014-01-031-2/+2
| | | | Change-Id: I98becf08f56ce35a3ee47650d0d4e204e7d18e73
* Show the widgetset name to more easily spot misconfigurationsArtur Signell2013-12-181-1/+5
| | | | Change-Id: I69e2995489e9f573718a053c34fe8736988e3f90
* Fixed TabSheet tab bar sizing by removing an obsolete Safari hack (#12343)Juho Nurminen2013-12-101-5/+0
| | | | Change-Id: I627dee377aa19aab2168152cf7cbe3cfd6f95e10
* Make VTreeTableScrollBody extendable (#13054)Henrik Paul2013-12-101-1/+1
| | | | Change-Id: I97fc69c96dd589cb0d5cde0686dca9e1742f2c86
* Changed the rendering order of TabSheet tabs to prevent an NPE in isClipped ↵Juho Nurminen2013-12-051-5/+4
| | | | | | (#12343) Change-Id: Ife96ff3fe0c3f9c8926cf96eab4f5dfca99e925e
* Don't send TabSheet focus and blur events to the server when moving the ↵Juho Nurminen2013-12-041-1/+1
| | | | | | focus from one tab to another (#12971) Change-Id: Ie496a403bdcfc833c4871efbae11453efa66c14e
* Fixes right click selection focus issues in Tree. (#12618)Felype Santiago Ferreira2013-12-041-2/+18
| | | | Change-Id: I1057424fc8956b05e15a92c32e48a767e9fc8df9
* Timeout redirect timer is reset on server activity (#12446)Henrik Paul2013-12-031-1/+3
| | | | Change-Id: Iec2e3de627bc1cf5c7d39bf98715b1bf343e7519
* Disable client timeout so websockets are not disconnected when idle (#13015)Artur Signell2013-12-021-0/+12
| | | | | | | Updated sleep method to ensure that long sleeps can be performed without losing the connection to the browser Change-Id: I4f29d946e7a9a400e303e3a574876e1bc2d56773
* Fixed TabSheet tab keyboard focus issues (#12343)Juho Nurminen2013-11-201-24/+34
| | | | Change-Id: Ifacf4208e5124665115d13928463d87922282461
* Cleaned up the implementation of VTabsheet.selectPreviousTab()Juho Nurminen2013-11-201-5/+2
| | | | Change-Id: I8e7fef3005173d7647b4dfda31f60978cbf5972a
* Fixed TabSheet keyboard navigation (#12971)Juho Nurminen2013-11-201-4/+2
| | | | Change-Id: Ibb155946811eb43829c6c200fa83c5eaa1d7cdfa
* Revert "Fixed lost scrollLeft when row count changed in Table (#12652)."Leif Åstrand2013-11-152-83/+1
| | | | | | | | This reverts commit 533ddcda271b7226b38c035adf3073062c562653. Seems like the caused regressions are far from trivial to resolve. A new approach might be needed to resolve this issue. Change-Id: I88cf75608e8d47fffab5a366a8ad1b3b70c1c11f
* Prevents accidental selection of window caption or content. (#12726)Felype Santiago Ferreira2013-11-141-0/+6
| | | | Change-Id: Ida479ef0c421cf67b2863cf78c76b495337f30cf
* Workaround for missing value change event in chrome (#10109)Matti Tahvonen2013-11-121-0/+16
| | | | Change-Id: I019527041539fcd0083261b693767144492e626a
* Use correct type for UIDL value to avoid development mode problems (#12545)Artur Signell2013-11-111-2/+2
| | | | Change-Id: Ib183e352fa64cb5c8f4d499ecb194768b18a16d6
* Prevent showing "Session Expired" notification if navigating away (#12298)Johannes Dahlström2013-11-082-13/+12
| | | | | | | Currently only works if navigation initiated via Page.open(url, "_self"). Page.setLocation should be changed in 7.2 to use "_self" as well (#12925) Change-Id: I56ad66ffbbd1a83b64999307d23028cbd84bb508
* Do not apply fix on mobile devices or devices without scrollbars (#12736)Artur Signell2013-11-082-1/+18
| | | | Change-Id: I38ef869d87418c18197a59a5ecd3fb7e12e1c02e
* Fix scroll position handling in Window Webkit hack (#12736)Artur Signell2013-11-061-0/+10
| | | | Change-Id: If4d17c34b2d20ad983f21b892d3ab4c68f511780
* Revert "Make Panel scroll the correct div (#12736)"Artur Signell2013-11-063-57/+29
| | | | | | | | | | | | | | | | | Revert "Reverted change in how hack works (#12727, #12736)" Revert "Fixes the handling of the scroll position of a Window (#12736)" Revert "Recovering scroll position after regression problems. (#12727)" Revert "Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100% wide." This reverts commit 6a63d12afc5a4bf3971dd016f8e2761cd27bcc74. This reverts commit c48c94dc23da22b6d885c69b0bc697257f9dbf11. This reverts commit 017bd0684c7d6c8475c8b43514e6f3998095c8d6. This reverts commit 51a46a038fe0353f4babfd8218153eb68e2602ca. This reverts commit ab5b20cf502f99944c82f619ffef387f0525e8ba. Test cases were left as-is as the issue (#12736) still needs a workaround Change-Id: I0b6c2afb4a9be8629f2a8f880a8ae8d0a6d5088f
* Fixed lost scrollLeft when row count changed in Table (#12652).Tapio Aali2013-11-062-1/+83
| | | Change-Id: I868f56c1e7003c6619859ba46619f4c53ef9744e
* Forces redraw in IE 8 when table does post layout. (#12687)Jarno Rantala2013-11-061-0/+3
| | | | | | Without forcing the redraw, IE8 measures component sizes incorrectly in some cases. Change-Id: I38e8a70e18753714b00f5ca4492749d6c84f10dc
* Send window position data back to server after drag (#12885)Thomas2013-11-064-1/+145
| | | | Change-Id: I9ca766b0e06390c7ab90f9cbd4996b83032789db
* Improve error message in createWidget() (#12901)Leif Åstrand2013-11-051-4/+15
| | | | Change-Id: If456a2be242754bcd1e0a8c5be00062a4355af35
* Make Panel scroll the correct div (#12736)Artur Signell2013-11-052-7/+4
| | | | | | | Redefined util method to take the scrollable instead of its parent to make it useful also for cases where the first child is not scrollable Change-Id: I301d260d26373b38fdee525f169347bb7b4c499e
* Fix NPE in fix (#12504)Artur Signell2013-11-041-2/+10
| | | | Change-Id: I65960bcfae850955ea40584445125c0affa26848
* Fix NPE caused by setting ApplicationConnection too late (#12736)Artur Signell2013-11-041-3/+2
| | | | Change-Id: Ib5b3bc7123ffd2f212fb6e242ee07175ff743b0f
* Reverted change in how hack works (#12727, #12736)Artur Signell2013-11-041-2/+2
| | | | | | The fix for Window slightly altered how the hack was done, breaking #12736 Change-Id: I2d33b45421c40ce011d2e728a573f7572e326c47
* fix regression related to #12504Matti Tahvonen2013-11-042-8/+9
| | | | | | Cloning date instances passed from state to cal panel as they appear to be mutating Change-Id: I3775b8445ddc0a779b894b4e044bde93f4c5936c
* Force connection to closed state on reconnect (#12853)Artur Signell2013-10-311-0/+4
| | | | | | | | | | | | | IE10+ does not call onabort when the streaming connection is aborted. As a result, onclose is never called and the client side does not change the connection state away from "connected". This results in user actions not being queued on the client side, instead the client tries to send them immediately, leading to an eternal spinner. If this can be fixed in Atmosphere somehow, it should. This is a workaround until then. Change-Id: Icd1a86ac9775d1a7d9c0bc1dee0fd399e2bf2266
* Fixed Tab error tooltips (#12802)Juho Nurminen2013-10-301-1/+2
| | | | Change-Id: I5ad33f38be5fac64805950d143ad2712e671ff83
* Fixes the handling of the scroll position of a Window (#12736)Mika Murtojarvi2013-10-303-71/+60
| | | | | | | | | | | | | After the first commit the same fix has been applied also for panels, in addition to other suggested changes. The scroll position of a Window is now memorized before applying the fix for bug #11994. The position is restored after the fix. Because the scrolling issue is known to appear also in other components, the fix for the scrolling has been moved to the Util class. Change-Id: I5251011b5bede77a7fb18972e1d90016c0eccc23
* Stop polling if Communication Error #12362John Ahlroos2013-10-302-9/+105
| | | | | | | | | This change adds a new ApplicationStopped event which is triggered whenever the ApplicationConnection marks the application as stopped. This event is listened by the UIConnector and will terminate any polling that might be currently done. Change-Id: I5e698fba7a94f530f69a9f6f554eea896c370824
* Recovering scroll position after regression problems. (#12727)Felype Santiago Ferreira2013-10-231-2/+9
| | | | | | The fix for "Panels get unnecessary scroll bars in WebKit when content is 100% wide (#12727)" introduced side effects to #6731. This fix solves the problem. Change-Id: I15ca926c0ee4cad49e9eea0c578c9cc73c850588
* Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is ↵Felype Santiago Ferreira2013-10-211-0/+35
| | | | | | 100% wide. Change-Id: Ia34e7c3ce755556460d237fb3489501274ced39f
* Also hide shim iframe of VOverlay on setVisible(false) (#12731)Henri Sara2013-10-141-0/+8
| | | | Change-Id: I48258a24bb14bbe79c1e11c9bda4a18b120b2a42
* Only fetch rows if there are some (#11189)Matti Tahvonen2013-10-091-0/+5
| | | | | | | | | IE hacks cause calls to onScroll in situations where the cache row fetch logic is not working correctly (causes JS exception). This change has an optimization to pass this logic if there are no rows available and this way fixes the JS exception as well. Change-Id: I3425f3d75cad8b65e605638343b167abf7b48067
* Focus selected row in Table #12540John Ahlroos2013-10-091-0/+11
| | | | Change-Id: Ic920f9cb11840a456a7c49746317eaccde1e1406
* Avoid obsolete calendar panel renderings to avoid various NPEs.Matti Tahvonen2013-10-082-15/+18
| | | | | | (#12504,#12667) Change-Id: Ie0a9a8d9913116520b766062ebabdb771a76d1b6
* Fixed incorrect logging (#12241)Artur Signell2013-10-081-2/+4
| | | | Change-Id: Icfe32a26f9069b7c5ed8160dba93b806754acf58
* Rebuild OptionGroup on HtmlContentAllowed/Multiselect changes (#10451)Artem Godin2013-10-081-1/+13
| | | | | | | Fixes regression with HtmlContent in Safari 5 and changing of Multiselect properties on the fly. Change-Id: I4a3820eba8d1c06460777340ea36b1df31b38983