Nathan Gray
b3806e3e8e
Add child action visbile/enabled checking - previously children were always enabled
2013-09-09 15:01:54 +00:00
Klaus Leithoff
e062cfc601
fix bug regarding the positioning of the drag n drop context menu
2013-06-03 10:47:33 +00:00
Klaus Leithoff
e8cb25e111
backport of r38639: fixed bug with ctrl-key no longer working
2013-05-31 11:13:42 +00:00
Andreas Stöckel
c0fe61e4f4
Merged r35884 from trunk
2011-09-06 09:12:08 +00:00
Klaus Leithoff
3251329d6e
if there is only a single event in the action, buffer it into/with a window.setTimeout function call, and wait for the trigger to execute and clean up as it does with multiple actions on a target
2011-07-21 11:01:03 +00:00
Andreas Stöckel
6918619da0
Fixed keyboard navigation in treeview
2011-07-03 12:33:43 +00:00
Ralf Becker
9db4fa8625
* jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
...
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*
required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*
negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php: '(\$(.+))' => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php: '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))
find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
additional changes:
phpgwapi/js/jquery/jquery.js: window.$ --> window.$j
phpgwapi/js/egw_json.js:291 this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59 $j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js: window.$ --> window.$j
2011-07-03 09:12:55 +00:00
Andreas Stöckel
a81e83a6e6
Prevented grid from loading all data when it is not visible
2011-06-26 15:44:08 +00:00
Andreas Stöckel
18f6a20df4
Included accidently commented out setTimeout commands again
2011-06-26 15:06:39 +00:00
Andreas Stöckel
44f73628e2
Implemented unregistering ActionImplementations when ActionObject.remove is called, ActionObject.clear now calls 'remove' on all child objects.
2011-06-26 14:57:05 +00:00
Andreas Stöckel
49e6780f07
Shotcuts are now generated on the server side, made key codes class constans
2011-06-25 14:27:30 +00:00
Andreas Stöckel
42e0b10797
Fixed bug with two many prefetch request (also doubles) - a part of this was caused by a wrong parameter sequence for the queueTimeout function, the other part was caused by the 'hasColumn' function not working correctly.
2011-06-25 13:45:46 +00:00
Ralf Becker
ba46b54355
improved exception message
2011-06-24 10:26:46 +00:00
Andreas Stöckel
416ff4787f
Fixed bug with SHIFT + Arrow keys not working anymore
2011-06-20 19:25:50 +00:00
Andreas Stöckel
4a1d2cd72c
Fixed bug with other jquery drag drop stuff (like sorting apps in the sidebox menu in the stylite template) not working correctly
2011-06-19 11:15:37 +00:00
Andreas Stöckel
bf8437551d
Implemented egw_action shortcuts
2011-06-19 10:48:51 +00:00
Andreas Stöckel
f3ccd96f03
Grid and nextmatch aoi now reset the input element focus once a row is clicked
2011-06-16 20:43:33 +00:00
Andreas Stöckel
41c4d4cee4
Enabled toggeling the grid selection with CTRL+A
2011-06-16 17:08:32 +00:00
Andreas Stöckel
1706f0fb22
Added function for removing actionObjects
2011-06-16 17:03:39 +00:00
Andreas Stöckel
28e6ff6920
Implemented executing the default action with the return key
2011-06-16 13:43:46 +00:00
Andreas Stöckel
9db8424e15
Implemented default focusing of objects in the tab manager, added new egw_getAppName function on js side, which returns the name of the currently active application - this is needed for the keyboard handler to pass the key events to the correct application object manager.
2011-06-15 20:54:58 +00:00
Andreas Stöckel
1c600b919d
Implemented new selectmode in grid, added grid.setSelectmode method to set the selectmode
2011-06-15 16:31:33 +00:00
Andreas Stöckel
085d8bf07f
Fixed problem with column header being displayed on checkbox columns, and always disabling the select-cols menu entry for it
2011-06-15 15:26:46 +00:00
Ralf Becker
47439899a5
propset svn:keywords Id
2011-06-14 12:35:36 +00:00
Andreas Stöckel
2e457e4b75
Added forgotten keymanager unit
2011-06-14 10:13:47 +00:00
Andreas Stöckel
e03d416fda
Implemented first version of key-board control over action-objects. For now arrow/page up/down and CTRL-A works.
...
Known Issues:
- Keyboard navigation in egw_grids (like felamimail) may not work correctly when navigating to not-yet loaded items (current implementation for that is more a hack)
- short-cuts not yet implemented
- not tested in IE, Safari, FF 3.6
- felamimail sometimes loads all/many of the emails you were navigating over
2011-06-12 16:41:40 +00:00
Andreas Stöckel
4477efd6dc
Added possibility to add/remove css classes from individual grid view rows
2011-06-03 14:08:49 +00:00
Andreas Stöckel
3a8d1e3227
Fixed problem with double click handler not being bound correctly
2011-06-03 11:21:36 +00:00
Andreas Stöckel
0d66fcd9d1
Executing default action on click on mobile devices
2011-06-02 22:53:23 +00:00
Andreas Stöckel
d02c638ca9
Implemented global action manager and object manager, implemented possibility of adding sub-action-managers
2011-06-02 14:48:03 +00:00
Andreas Stöckel
fc622875d4
Added forgotten aoi file for dhtmlx menus
2011-05-31 20:10:30 +00:00
Andreas Stöckel
36d2f605cb
Fixed problem with an container object returning 'true' for 'getAllSelected', even if it has no children.
2011-05-31 17:02:51 +00:00
Andreas Stöckel
2e84fb63e2
added clear function to egwActionObject, reverted change done by klaus leithoff in egw_action.js as it caused serveral problems, fixed problem with no actions being executable when all action objects were selected using the setSelectAll function, added iframeFix to egw_action_dragdrop.js, made draggedOver style working for all tables.
2011-05-28 15:24:31 +00:00
Andreas Stöckel
fbb5551dca
Fixed problem with requesting already loaded JS and CSS files, fixed problem with icon height not being updated for table rows in IE
2011-05-22 18:42:23 +00:00
Klaus Leithoff
f7cb239a14
if the list is empty/the action object has no children, we do not consider that as allSelected
2011-05-16 12:05:54 +00:00
Andreas Stöckel
b416719eb8
Fixed issue with drag-onExecute handler not being called
2011-05-07 11:22:23 +00:00
Ralf Becker
fb5ea143be
- returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
...
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Andreas Stöckel
fcaef1ee58
resolved issues with for-in loop and ie
2011-04-23 09:07:31 +00:00
Andreas Stöckel
f2b739e332
Added additional parameters to the 'enabled' callback (1. the action, 2. an array of action object, 3. the current action object)
2011-04-17 20:27:23 +00:00
Andreas Stöckel
cbf233bccd
action type now defaults to 'popup'
2011-04-17 19:10:46 +00:00
Andreas Stöckel
8e9279c7b7
passing new checkbox state to underlying menu implementation after action execution
2011-04-17 17:55:37 +00:00
Andreas Stöckel
7a291d01e8
fixed problem with last commit
2011-04-17 17:51:50 +00:00
Andreas Stöckel
9566b032cf
menu now automatically updates checked state
2011-04-17 17:46:09 +00:00
Andreas Stöckel
7ae2588e84
dhtmlxmenu now doesn't autohide after clicking on checkboxes/radiobuttons, click handler can specifiy whether the field should be checked/unchecked
2011-04-17 17:42:04 +00:00
Andreas Stöckel
cb9355ac00
Fixed problems with executeActionImplementation when called from a container object, fixed problem with popup menu which did not open in some cases, added the ability to use the 'enabled' property of an action as an callback function (actionObject is passed as parameter), introduced egwFnct-class which consistently handles 'javaScript:fnct' strings, added 'allowOnMultiple':'only' setting, added 'hint', 'checkbox', 'checked', 'radioGroup' properties to popup actions, added 'setDefaultExecute' function to egwAction objects, which applies an handler to all objects which don't have a handler yet
2011-04-17 15:38:46 +00:00
Andreas Stöckel
c5cd3a354b
Fixed serious bug in egw_grid_data.js/egw_grid_common.js which caused prefetching not to work - instead a request was sent for each element. Added possibility to specify an array ids instead of a count for creating a range of egw_grid data elements (see comment for the egwGridDataElement.loadData, fixed bug which caused the 'queued' image to be removed immediately after it was shown.
2011-04-14 20:44:29 +00:00
Andreas Stöckel
6361ee4f4b
(Hopefully) fixed a few bugs in the grid: Fixed problem with eventQueue, fixed problem in egwGridViewContainer.getHeight() which caused sorting to break the grid, fixed bug with grid not being generated correctly when being generated in an invisible container.
2011-04-07 19:29:07 +00:00
Andreas Stöckel
ca7dfd3370
Added grid styles to the jerryr template (probably the CSS + the images should be kept in the default theme, but I'm not sure what's the best way to do this), added 'evenQueue' object to grid JS code, which allows you to cancle or postpone JS events connected to it.
2011-04-05 20:23:09 +00:00
Andreas Stöckel
a231863ed3
Implemented grid column sorting
2011-04-01 16:38:31 +00:00
Klaus Leithoff
d7d28e75d5
strip html from caption in selectcols popup
2011-04-01 13:17:48 +00:00