Ralf Becker
43afc55932
fix not working 2. loading of a popup in IE, caused by IE freeing the cached template in top window, working around that by a getter/setter method in top etemplate2 doing a clone when storing templates
2015-08-20 08:45:21 +00:00
Nathan Gray
ecb972ca66
Etemplate now uses JSON instead of XML for templates on the client side.
...
XML files are parsed into JSON objects on the server, then sent as JSON.
Etemplate parses the JSON object on the client side instead of the XML file directly. This is supposed to be faster for IE.
2015-08-18 17:47:40 +00:00
Hadi Nategh
2abb05ead3
Call resize handler of widgets with no excess_height which means resize is from nm
2015-05-08 13:38:42 +00:00
Hadi Nategh
211efdda68
Trigger widget's resize only if there's excess_height
2015-05-05 12:38:11 +00:00
Hadi Nategh
467578d34f
Consider iceweasel browser in autocomplete_fix handling
2015-03-31 12:30:43 +00:00
Hadi Nategh
9e8a7dab61
Define an undefined var
2015-03-30 13:41:12 +00:00
Hadi Nategh
ff507682eb
Replace deprecated console.timelineEnd and console.timeline with console.timeEnd and console.time
2015-03-27 10:46:56 +00:00
Ralf Becker
63a7af621d
allow to submit partial content by passing a container(-widget) to etemplate2.submit()
...
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 02:12:33 +00:00
Hadi Nategh
feae7b3638
Focus on the first input field only if the field is empty for mobile theme
2015-03-18 16:55:53 +00:00
Ralf Becker
370e503dab
* Safari: fix security warning caused by auto-complete when submitting from https to about:blank
2015-02-20 19:04:58 +00:00
Nathan Gray
82f36e6de4
Extend printing support to work with multiple etemplates on the printed tab
2015-02-11 18:05:14 +00:00
Hadi Nategh
34d5ffea62
Fix resize method for templates with height bigger than screen.availHeight
2015-02-09 11:28:20 +00:00
Nathan Gray
bc3ffae167
Attempt to get nextmatch printing always on the page (landscape) - put things back if they cancel at nextmatch dialog
2015-02-05 21:57:20 +00:00
Hadi Nategh
13684d4903
Activate cross-browser autocomplete
...
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Nathan Gray
e6e01758cc
Make sure url is set, prevents errors with some dialogs
2015-02-02 23:28:27 +00:00
Hadi Nategh
af355330d0
Revert the autocomplete feature
2015-01-30 15:59:27 +00:00
Hadi Nategh
6e25cc598a
Disable autoComplete fixer for all browser but Chrome
2015-01-29 16:33:36 +00:00
Ralf Becker
69ae4efb47
need to split off domain first, as it could contain app-name part of template eg. stylite.report.xet and https://my.stylite.de/egw/ ...
2015-01-28 10:14:52 +00:00
Nathan Gray
2be34b4b53
Bug fixes on nextmatch printing
...
- fix loaded rows check
- fix hidden etemplate check
2015-01-27 20:48:06 +00:00
Nathan Gray
cee521d4cd
Work in progress of printing nextmatches, still needs some prettying up & edge case testing
2015-01-27 16:26:59 +00:00
Ralf Becker
c5cbbf240a
fix autocomplete for Firefox by doing a real submit to an https url, as faked submit to "about:blank" causes a security warning in FF
2015-01-27 15:14:56 +00:00
Hadi Nategh
0e4d04cb6c
Fix autocomplete fixer wrapper messes up nextmatch height size
2015-01-27 11:17:11 +00:00
Hadi Nategh
59e922221c
Enhance autocomplete fixer and fixes some bugs
2015-01-27 10:52:42 +00:00
Nathan Gray
a644255c78
Clean up debug
2015-01-26 17:34:47 +00:00
Hadi Nategh
ebab506aa9
* All Applications: Get browser autocomplete form working
2015-01-26 16:13:08 +00:00
Hadi Nategh
c3a8f0d7c0
Fix etemplate2 clear instance broken by commit 51394
2015-01-26 14:32:39 +00:00
Ralf Becker
4578d849f5
new script widget to allow to include javascript in (customizied) templates, also adding an id to style widget
2015-01-23 19:32:32 +00:00
Ralf Becker
cf61d38137
share loaded eTemplates with iframes and popups, this way they dont need to load templates in same EGroupware session again (unless main window get reloaded), also adding now a cache-buster by default, if server dont supply one
2015-01-23 14:32:47 +00:00
Hadi Nategh
8ee3b4ccb1
Remove commented code from previous commit
2015-01-09 16:21:32 +00:00
Hadi Nategh
607677d9e7
Fix getting wrong initial excess_height
2015-01-09 16:19:52 +00:00
Hadi Nategh
dec43dd938
Fix typo from commit #49813
2014-12-10 15:59:34 +00:00
Hadi Nategh
a94f892219
Fix mobile framework popup not showing up the close botton
2014-12-10 15:53:28 +00:00
Hadi Nategh
be3dff7c30
Implement framework specific get_excessHeight to be able to calculate excess height correctly for each framework window
2014-12-09 16:07:51 +00:00
Hadi Nategh
dfe03c8531
Resize the initial resize after everthing is loaded immediately
2014-12-09 11:20:38 +00:00
Hadi Nategh
0607b60bc9
Set a timeout to window resizer to make sure this happens after other resize events, hopefully fixes the timing issue
2014-12-08 17:04:41 +00:00
Hadi Nategh
8203d5f695
Use appHeader outerHeight for resize calcualtion
2014-12-08 12:24:21 +00:00
Hadi Nategh
ee6754b75c
Take AppboxHeader into account for dialog resize height calculation
2014-12-08 10:51:34 +00:00
Hadi Nategh
1869e94f84
Popup resize handler enhancement:
...
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +00:00
Hadi Nategh
e8d1c874e6
Implement resize handler callback for widget in order to resize widget properly after the window size changes
2014-12-04 16:38:34 +00:00
Nathan Gray
46bcd3df8a
Automatically set focus to first input
2014-12-03 23:43:34 +00:00
Ralf Becker
8a9657541d
moving egw_openWindowCentered() to egw(window).openPopup()
2014-12-01 10:45:24 +00:00
Nathan Gray
f3c3fedf32
If the current application does not own the template, load the javascript for the current application and the application owning the template. (Gets actions working reliably in home)
2014-11-28 17:34:38 +00:00
Nathan Gray
08708664b3
If one application uses a template from another, notify the application that loaded the template, not just the application that owns it.
2014-11-18 23:10:41 +00:00
Ralf Becker
026e93a0c4
use template base url from initial template, to continue using webdav, if that was loaded via webdav
2014-11-05 13:07:13 +00:00
Ralf Becker
178bca7f7a
fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect
2014-10-08 20:02:59 +00:00
Nathan Gray
aa6c36ba3f
Work on app-entry widgets (contact-value)
2014-09-30 21:37:45 +00:00
Hadi Nategh
427956518e
* Etemplate/widget: Introduce video widget.
...
- Add ability to play video media/stream
2014-08-19 10:10:09 +00:00
Hadi Nategh
161734f941
Handle validation_error if widget is children of a tabbox.
...
-Fix widget with validation error does not activate its related tab.
2014-08-18 12:05:04 +00:00
Nathan Gray
9851a8a6ef
Trigger a clear event on the etemplate DOMContainer when the etemplate is cleared, so app code can listen for it.
...
This allows a 'et2_unload' sort of processing.
2014-07-28 20:51:49 +00:00
Hadi Nategh
296530b320
Fix etemplate2 submit() method for those buttons which they do not have nested ids
2014-07-07 13:25:20 +00:00