Commit Graph

203 Commits

Author SHA1 Message Date
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
Nathan Gray
34ed2d7290 - Fix missing change handler on some nm header templates
- Fix improper usage of jQuery.when() (it doesn't take an array)
- Fix missing filter detection to not break with multiple values
2014-05-26 22:27:57 +00:00
Ralf Becker
30ffb38bd6 reverted r47030 as it breaks server-side nextmatch actions
nextmatch values were in root instead of namespaced "nm", causing all serverside actions (eg. move one contact into an other addressbook) to fail, because validation did not find values placed clientside outside valid namespace
2014-05-23 16:00:17 +00:00
Ralf Becker
24ee68bdf2 fixed infinit loop for apps running in iframe by refactoring frameworked templates work with client-side api:
- moved shared etemplate2 part into static etemplate2.app_refresh() method
- egw_message.refresh() calls framework.refresh() which can return a DOMwindow for egw.refresh() to work on, instead of calling egw.refresh recursive
2014-05-23 08:21:11 +00:00
Ralf Becker
893091e286 - new app.js observer method which receives update notifications from all apps
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +00:00