Nathan Gray
d996a3445f
Fix et2_ready() when app called via ajax
2013-04-10 16:03:31 +00:00
Nathan Gray
fdada6c3c0
Fix typo in missing JS object warning
2013-04-10 10:10:14 +00:00
Nathan Gray
4de7d2f432
Add a warning if application js object was not loaded
2013-04-10 10:05:17 +00:00
Nathan Gray
978a90852c
Add a base object for application javascript code to contain it, and solve initialization timing issues
2013-04-09 08:45:59 +00:00
Nathan Gray
ef2a5d377d
Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors
2013-04-01 19:14:52 +00:00
Ralf Becker
bfc0c48210
use egw.includeJS instead of egw.ready for ajax-exec, eg. used in mail
2013-02-13 16:30:30 +00:00
Nathan Gray
ecdf60bc29
Not yet...
2013-02-06 08:16:12 +00:00
Nathan Gray
6295f1a833
Link entry:
...
- Split application parameter into two, one for just one app, one for an app list
- Also return the contents of the search box in value (if not limited to just one app)
2013-02-06 08:06:11 +00:00
Nathan Gray
534ea00418
Make et2 load application js, if present
2013-02-05 14:38:16 +00:00
Nathan Gray
8fafb1414a
Do not change it just yet...
2013-02-05 12:55:39 +00:00
Nathan Gray
bbfcb19ab8
Fix so namespaces work even without content data
2013-02-05 12:55:01 +00:00
Ralf Becker
48d4d04b42
report template name, if template can not be displayed, because it was not found
...
removed old debug code making not much sense anymore
2013-02-05 12:36:37 +00:00
Nathan Gray
77ff3ca385
Do not change it just yet...
2013-02-05 09:36:09 +00:00
Nathan Gray
417b22e071
Make sure there's an action_var, use 'action' if not set
2013-02-05 09:34:54 +00:00
Nathan Gray
8a1386ecdb
Fix grid auto-repeat. It's always the last row that repeats, if there's data
2013-02-05 08:31:08 +00:00
Ralf Becker
e2d3c2ee29
fixed default parameters and type of etemplate::exec to match documentation
2013-02-04 12:56:08 +00:00
Nathan Gray
ec2d395a68
Initialize to empty array if not set
2013-02-04 12:47:46 +00:00
Nathan Gray
129601366e
Some extra debug for et2
2013-02-04 12:35:30 +00:00
Nathan Gray
fc253e2564
Scan for widgets, or they won't all be read. ex: a template with listbox will never know to read etemplate_widget_menupopup
2012-07-24 17:48:55 +00:00
Nathan Gray
60f474da12
Only create new request if it doesn't already exist. Fixes missing information when app constructor creates new template, and get_rows is called for the first time from a new instance
2012-07-23 20:06:54 +00:00
Nathan Gray
f198fb8f6e
Lets try this theme for a while, see how it looks
2012-07-18 16:50:49 +00:00
Nathan Gray
fa30d335e3
Detect a submit from old etemplate & pass it off
2012-07-11 20:06:37 +00:00
Nathan Gray
c1a7b2de01
Create content array in constructor too, some things need that
2012-07-10 22:16:44 +00:00
Nathan Gray
8c9bbfd676
Create the request object when the new etemplate object is created, otherwise it's not available for apps to set attributes
2012-07-09 21:24:47 +00:00
Nathan Gray
85950517a1
revert accidentally committed change to et2
2012-06-19 23:30:50 +00:00
Nathan Gray
c9d19b4721
Clean up link_entry widget internal value usage, and better handle no value (null, '', false or {})
2012-06-19 23:30:07 +00:00
Nathan Gray
63a8718dd8
Support background colors (& icon) in link search results
2012-06-06 18:47:04 +00:00
Nathan Gray
9846011ec2
- Reset accidental commit using et2
...
- Set current app before validating to use app-specific values (category)
2012-06-05 16:19:02 +00:00
Nathan Gray
eae9b67d3c
Make text diff history look better in FF
2012-06-05 15:48:57 +00:00
Ralf Becker
0d66dd98b7
fixed server-side valdation of autorepeated rows/columns
...
had to change signature of validate function to get information for autorepeating through
removed entity-encoding of square brackets, as they mess up validiation (havnt found any negative effects so far)
2012-05-03 14:17:47 +00:00
Nathan Gray
fb7baf49c1
Load app's translation and javascript file, if it exists
2012-04-30 23:31:56 +00:00
Nathan Gray
28fa402b36
Still want old etemplate...
2012-04-24 19:48:05 +00:00
Nathan Gray
d4aed5cf03
More work on nm actions that need real submit (POST)
2012-04-24 19:47:23 +00:00
Nathan Gray
3af88b3f6e
Add method to handle POST submits outside of ajax framework
2012-04-17 22:58:39 +00:00
Ralf Becker
cedb8e3f6c
add this.form.submit() to legacy functions and use regular nextmatch filter-change, if onchange="this.form.submit()" is set, some more changes etemplate_new --> etemplate
2012-03-29 15:10:25 +00:00
Ralf Becker
4a08f033e7
renamed etemplate to etemplate_old and etemplate_new to etemplate, thought new etemplate is still disabled in etemplate/inc/class.etemplate.inc.php line 38
2012-03-27 15:45:31 +00:00
Ralf Becker
809b5f3dac
fixing the fix ..., good that new etemplate2 always uses csv_explode
2012-03-17 14:18:30 +00:00
Ralf Becker
ffccc00439
use csv_split on options of text field, to allow to enclose preg in quote to allow comma in it
2012-03-17 13:41:34 +00:00
Nathan Gray
8820bf0acf
Whoops - revert accidental commit
2012-03-12 17:58:55 +00:00
Nathan Gray
c2d1edc754
Make button onclick work inside nextmatch again
2012-03-12 17:55:52 +00:00
Andreas Stöckel
97080a676a
Reverted changes to accidently commited class.etemplate.inc.php
2012-03-12 12:08:37 +00:00
Andreas Stöckel
dc017ed889
Now again using a local etemplate2 instance on the client
2012-03-12 12:05:14 +00:00
Ralf Becker
7e0df9eb55
allow to force tooltip for help messages by prepending a pipe "|" character
2012-02-19 13:54:57 +00:00
Ralf Becker
5433778fc5
fix for integer input with negative length, to get readonly input field, fixes html5 not setting size/width commit
2012-02-01 17:30:28 +00:00
Ralf Becker
a34e9b8431
html5 input type=nummeric seems to ignore size, setting a width instead
2012-01-05 01:42:06 +00:00
Nathan Gray
a5e904faa1
Revert accidentally commited devel stuff
2011-12-23 16:29:09 +00:00
Nathan Gray
587418fca2
If hooked, keep app in extension_data to persist across etemplate loops. Fixes lost infolog custom fields in addressbook view when changing nm filters
...
- Attempt 2, see r36788.
2011-12-23 16:27:41 +00:00
Ralf Becker
b4bfa392b2
* Filemanager/eTemplate: fix for MyStylite bug #2495 : deleting files containing [ as first char deletes whole directory
...
added encoding of square brackets in eTemplate and improved etemplate_bo::(get|set|isset|unset)_array() to split indexes at ][ and not just [
--> needs to be "back"-ported to eTemplate2 to!!!
2011-11-09 14:32:07 +00:00
Ralf Becker
89847abae6
added "progress"(-bar) widget to differ from image and using it in templates
2011-09-08 19:00:57 +00:00
Ralf Becker
fa435de6a9
allow to call a function instead of a static helptext
2011-08-27 18:35:40 +00:00