18 Commits

Author SHA1 Message Date
Philipp Schaefer
135d1f63ad set modal dialog width to auto (height is auto by default) since you can't see all information on a shrinked info dialog (fixes #399) 2013-07-02 12:25:16 +02:00
Philipp Schaefer
255831f4eb let iitcm react on the dialog focused callback 2013-07-02 10:53:03 +02:00
Philipp Schaefer
48e60f809a remove dialog from dialogStack if it is closed with 'ok' or 'close'
button
2013-06-14 00:42:27 +02:00
Jon Atkins
20ce15d126 Merge pull request #368 from integ3r/dialog-code-tweaks
Add support for new mods, tweak dialogs
2013-06-11 21:30:46 -07:00
Philipp Schaefer
b3a42783fa close dialogs onBackPressed (fixes #363) 2013-06-11 01:21:36 +02:00
Morgan Jones
1eb785af1c * Add unusual XM objects 2013-06-10 13:57:30 -06:00
Morgan Jones
18e7a8f970 * Add new mods from June 10
* Attractive slidetoggle for dialog windows
2013-06-10 13:37:55 -06:00
Jon Atkins
ac9312d6f7 destroy and remove dialogs after they're closed - otherwise they remain in the DOM, hidden but there
fix #288
2013-05-18 18:02:13 +01:00
Morgan Jones
59fce850c8 * Code style tweaks 2013-05-11 16:43:57 -06:00
Morgan Jones
99bbcbcb30 * Fix bug that would cause modal dialogs to not show up (modal dialogs aren't draggables)
* Fix issue that broke portal poslinks on mobile
2013-05-11 16:34:41 -06:00
Morgan Jones
9756bac253 * Fixup: Carelessly swapped collapse and expand callbacks 2013-05-10 21:44:53 -06:00
Morgan Jones
20ef7acda5 * Fix condition that would rarely cause dialogs to not open properly (dialog wasn't getting destroyed before being replaced) 2013-05-09 01:39:19 -06:00
Morgan Jones
4b39567e29 * Default dialogs to an empty title
* Fix bug that would cause some singleton dialogs to open several times
* Comment fix
2013-05-09 01:29:48 -06:00
Morgan Jones
04851af096 * Remove dialog resizable stuff, it's not tested 2013-05-08 03:48:26 -06:00
Morgan Jones
dfadadd296 IITC Dialog Overhaul, part 2
Core changes
* window_management.js => panes.js (clarity, distinction from dialogs)
* Make portal preview use dialogs instead of the large preview "window"
* Use `open' callback instead of `create' callback for all dialogs
* Replace collapse/close buttons with themed buttons inspired by the AP Gain plugin
* Dialogs can now gain and lose focus, with changing title bar
* Tweak the Poslinks window to use dialogs
* Add collapseCallback, expandCallback, collapseExpandCallback, focusCallback, and blurCallback
* Fix http <img> in About dialog that caused Chrome to complain

Plugin changes
* guess-player-level 0.4.1: Use dialogs with titles, typo fix
* portal-counts 0.0.8: Use dialogs with titles, typo fix
* portals-list 0.0.12: Don't hijack every single dialog onscreen, add titles, typo fix
* scoreboard 0.1.8: Use dialogs with titles
2013-05-08 03:39:36 -06:00
Morgan Jones
42f151b3ac * Enable dialog snapping 2013-05-07 02:05:19 -06:00
Morgan Jones
2bdeb13f45 * Update redeeming.js to take advantage of new dialogs
* Dialogs now support collapsing and expanding
* Fix IITC about window - no longer resizes all onscreen dialogs
2013-05-07 01:42:47 -06:00
Morgan Jones
84f5499c18 * Window manager stuff. Multiple windows can be opened now. Still resolving bugs. 2013-05-06 17:09:39 -06:00