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
Ralf Becker
2bba68b575
nicer workaround
2011-06-03 10:14:12 +00:00
Ralf Becker
310b22c172
* workaround for Fennec bug https://bugzilla.mozilla.org/show_bug.cgi?format=multiple&id=648250 window.(outerHeight|outerWidth|screenX|screenY) throw exception
2011-06-03 09:50:27 +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
Ralf Becker
423a1d9303
new method egw_appWindowOpen(app,url)
2011-06-02 12:37:49 +00:00
Ralf Becker
47e2764da0
new javascript method egw_open() to open egw_entries using there registered url and popup sizes from the link registry
2011-06-02 11:13:41 +00:00
Andreas Stöckel
9eb51b8b74
Removed accidently commited debug message
2011-05-31 20:12:51 +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
Nathan Gray
19dd8d19bd
Send ajax errors to console.error instead of alert
2011-05-10 14:49:25 +00:00
Andreas Stöckel
3906423d4a
Fixed problem with context menu opening into the wrong direction if a vertical scrollbar is available. Notified developers.
2011-05-08 19:57:01 +00:00
Andreas Stöckel
b416719eb8
Fixed issue with drag-onExecute handler not being called
2011-05-07 11:22:23 +00:00
Andreas Stöckel
2f99f7ff79
Fixed problem with dhtmlxMenu overflowing at the top in windows with scroll bars - notified the developers, so this fix is most likely to be included in the next dhtmlxmenu release
2011-05-07 10:32:31 +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
Ralf Becker
af75f60ff4
fixed IE(8) javascript error: "null" is null or not an object
2011-04-24 12:40:06 +00:00
Andreas Stöckel
eab7a5fdcc
Fixed issue with menu overflowing on the top
2011-04-23 09:24:11 +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
Andreas Stöckel
151da7e0bd
Updated code for image overlay on grid entries
2011-04-01 12:49:14 +00:00
Andreas Stöckel
888bbd0051
Added sort header click callback, fixed (minor) bug in column width calculation
2011-03-31 15:04:33 +00:00
Andreas Stöckel
bc25b8a102
Only call the selectCallback once, call it when setAllSelected is called and select the whole row when the checkbox is pre-checked
2011-03-31 12:56:47 +00:00
Andreas Stöckel
b424341afe
Added selected change event to grid component, reverted change with drag'n'drop and window.top
2011-03-31 12:17:46 +00:00
Andreas Stöckel
a726d95d0b
Fixed bug with grid element position calculation in firefox - firefox uses fractional height values internally but returns them rounded when using offsetHeight - using getComputedStyle when using firefox fixed the issue.
2011-03-30 20:52:02 +00:00
Andreas Stöckel
3111c74eda
Fixed selection issues in grid and fixed problem with checkbox data being checked with == and not ===
2011-03-30 15:05:58 +00:00
Andreas Stöckel
dde3de5195
Added new column type 'EGW_COL_TYPE_CHECKBOX'
2011-03-30 14:28:49 +00:00
Andreas Stöckel
4b23d7bca2
removed egwGridView_outer margin
2011-03-30 12:28:24 +00:00
Andreas Stöckel
01a50945f5
Fixed bugs with Drag&Drop and IE, improved speed of grid view component by adding an timestamp to the data cells and only updating them if the timestamp has changed
2011-03-25 13:12:24 +00:00
Andreas Stöckel
ded17410ba
Added new doTriggerEvent aoi method to grid aoi and fixed bug with scrolling in the grid and dragging
2011-03-24 18:17:27 +00:00
Andreas Stöckel
ba92642c5b
Added full drag-drop support to the egw action system
2011-03-24 17:06:44 +00:00
Andreas Stöckel
bbe645ee02
Added data property to egwAction, fixed bug in popup menu group generation
2011-03-23 20:08:33 +00:00
Andreas Stöckel
0b2168e924
Fixed bug in egwActionObject.selectAll function which caused the internal 'selectedChildren' array to be a reference to the children array and resulted in the children array being destroyed.
2011-03-23 14:36:25 +00:00
Andreas Stöckel
e0d40e649b
Moved most code of the JS actionManager class to the action object itself, so that every action object might have child object if the action implementation allows that. Added support for sub-actions for actions representet as popup menus
2011-03-23 14:05:39 +00:00
Andreas Stöckel
afcf96a3cd
Added egw_grid_columns class which is capable of managing the grid columns of a certain grid and to store, load and merge the user columns data into the default column set
2011-03-22 14:00:03 +00:00
Andreas Stöckel
0f5a354a12
Removed forgotten debug messages, added support for maximum column width to egw_grid_columns.js
2011-03-21 17:27:09 +00:00
Andreas Stöckel
67575e1cd1
Added move and copy multiple files functions to egw_vfs, implemented functions needed to reload subtrees of the egw_grid, fixed problems with data fetching in egw_grid_data.js
2011-03-21 16:12:28 +00:00
Andreas Stöckel
07daeda81e
Fixed bugs in the grid component with resizing not working properly and column width being not in sync with header width. This has been done by using a dynamic stylesheet for the column properties instead of changing the properties for each element individually.
2011-03-18 18:04:56 +00:00
Andreas Stöckel
e19cc44fcb
Removed base64-encoding from egw_instant_load.html, added code to egw_json which inserts script tags seperately when content is assigned to the innerHTML property
2011-03-17 18:00:24 +00:00
Andreas Stöckel
d7e1028513
Fixed problem with directly loading iframe content in felamimail - added egw_instant_load.html which allows replacing its whole content with (base64 encoded) content and (in difference to data:text uris) works with IE and allows cross-frame JS interaction
2011-03-17 14:11:43 +00:00
Andreas Stöckel
65610b5fed
Updated jquery to newest, minified version
2011-03-16 17:50:53 +00:00
Andreas Stöckel
ebd6031ecf
Small design improvements, fixed horz. scrollbar in grid with chrome, ie compatibility, enabled column selection, fixed prefetch code
2011-03-16 17:50:25 +00:00
Andreas Stöckel
fa12444ae7
Moved contents of egw_vfs_utils to egw_vfs, added 'egwGridViewFullRow' class to the egw_grid_view.js, which is capable of inserting a data row which spans all columns, added egwGridData.clearData method to egw_grid_data.js, which delets all data stored in the data row
2011-03-15 17:52:08 +00:00
Andreas Stöckel
e7bd5a4813
Modernized grid design a bit, added auto triggering of the default action to the popup action, added simple action-binding to the egwGrid
2011-03-14 20:11:08 +00:00
Andreas Stöckel
ece9ad4047
Removed test rule from the CSS
2011-03-14 12:45:28 +00:00
Andreas Stöckel
ae453db400
Fixed thumbnail generation for application folders, added egw_stylesheet.js, which allows the dynamic generation of a stylsheet. This is now used in the egw_grid_view.js to keep the row caption in the same distance from the icon - depending on the maximum icon width.
2011-03-14 12:42:59 +00:00
Andreas Stöckel
c77069d0af
Reduced thumbnail filesize limit in egw_vfs_utils.inc.php which was increased for testing purposes, fixed bug with container position calculation in deeper levels in egw_grid_view.js, which affected inserting new grid rows
2011-03-14 09:36:59 +00:00
Andreas Stöckel
943f369cce
Fixed bugs in the grid view js code (changes in the test_grid_view.html are for debugging purposes only), added class.egw_vfs_utils.inc.php which will contain high-level vfs functionality which was previously hidden inside etemplate and the filemanager, such as generating the thumbnail url for a file.
2011-03-13 20:54:16 +00:00
Andreas Stöckel
49909211f1
Added forgotten egw_grid_columns.js
2011-03-11 10:20:01 +00:00
Andreas Stöckel
57aaf6d756
Dynamic loading of content tested and optimized, resolved bugs, implemented support for data trees in the view classes. The whole progess can be seen in the test/test_grid_view.html file.
2011-03-10 20:58:35 +00:00
Andreas Stöckel
c7122b1006
Basic grid functionality including dynamic generation of grid rows is now working in all browsers
...
and performs quite well (just some non-objective data):
Lines | IE 7/8 | FF | Chrome
---------------------------------------------
1000 | fast | very fast | very fast
10000 | ok | fast | very fast
100000 | still ok | ok | fast
(Performance might still be optimized but this does not really help right now).
The code for dynamic data loading has been written but still has to be tested.
Work which still has to be done to have a fully functional grid view:
- Data columns have to be generated correctly
- Displaying trees has to be tested, but should work more or less out-of-the-box due to the design of
the grid containers
- Client side manipulation of data (sorting/filtering...) - most functionality is already there but not
yet used (will be tested alongside with the filemanager)
2011-03-09 22:16:41 +00:00
Andreas Stöckel
dd8a8eab45
Implemented framework for dynamically inserting grid rows into the DOM tree and a very simple test for it
2011-03-07 16:53:43 +00:00
Andreas Stöckel
ae7987264e
- Added working egw_grid component including test and documentation, codebase will be used to replace the nextmatchWidget in etemplate2
...
- Improved egw_action.js:
- Bugfixing regaring handling of egwActionObjects organized in trees (hasn't been tested before)
- Improved egwActionObjectInterface interface and functionality: AOIs can now mark themselves as invisible/visible and request the action objects to reconnect the action implementations
- Action objects do now automatically register the action implementations
- Vastly improved speed when working with huge amounts (> 500) of objects organized in trees (as done in the grid test)
- Improved egwActionObject functionality: Added new functions regarding selecting groups of objects
2011-03-02 21:18:20 +00:00
Andreas Stöckel
419c2af704
Added toggleSelectAll functions, improved egw_action_popup, tested, fixed some bugs
2011-02-26 20:40:27 +00:00
Andreas Stöckel
9e38d4e030
Added some forgotten files
2011-02-26 19:21:55 +00:00
Andreas Stöckel
1f751b452a
Implemented egw_popup_action, tested, got it working with IE
2011-02-26 18:04:28 +00:00
Andreas Stöckel
49770971ce
First test with egwActionObjectInterface for a listbox-like representation of egwActionObjects (test_action.html), fixed bugs in egw_action.js which occured during testing.
2011-02-24 21:39:05 +00:00
Andreas Stöckel
53a041c488
Finished implementation of the abstract egwAction interface - now going to test it
2011-02-24 19:00:47 +00:00
Andreas Stöckel
e416c61890
Backup of current development stage
2011-02-24 16:10:11 +00:00
Andreas Stöckel
1866dd1c43
(Hopefully) fixed broken SVN Id tags
2011-02-23 20:18:56 +00:00
Andreas Stöckel
e2c9cd49cc
Initial commit of the current JS implementation of the egw_action system, which will later be used to create context sensitive menus and drag and drop capabilities. The egw_menu.js/egw_menu_dhtml.js files are fully functional (see test in the test dir), implementation of egw_action.js has just started and not even a single line of that has been tested yet.
2011-02-23 18:24:16 +00:00
Andreas Stöckel
0d88ac8799
Reversed most changes made for egw-stylite #8295 , commited changes proposed by Ingo Ratsdorf in egroupware.org #2834 , probably fixes egroupware.org #2831
2011-02-04 14:28:12 +00:00
Andreas Stöckel
0f0e57f398
Got remote applications in the jdots template finally working as they should - this unfortunately required a lot of 'dirty' hacks, as egroupware had not been designed to do this. So e.g. there had to be a litte bit code added to the login page, which prevented it from redirecting to a page with a full framework rebuild.
2011-01-20 14:11:47 +00:00
Ralf Becker
b603b7605c
removed not longer used ckeditor.egwconfig.js
2011-01-06 00:01:17 +00:00
Ralf Becker
6e8e8a8986
* JSCalendar: fixed week containing 4th Jan is shown as 52th instead 1st week, if week starts on sunday is selected
...
JSCalendar shows iso8601 week numbers as used eg. in Europe, which are defined for weeks starting on Monday, JSCal used first displayed day (not Monday) to calculate the week number
fix now always uses the Monday to set the week number
US, Canada and middle east uses uses a different week numbering schema than iso8601, which is currently NOT supported by JSCalendar or EGroupware!
2011-01-05 02:34:16 +00:00
Ralf Becker
ccfa98ff9f
new method to refresh an egroupware applications view, with the possibility for the application to overwrite the default handing of reloading everything
2010-12-28 03:02:49 +00:00
Klaus Leithoff
6476c7af39
allow upper case window names too
2010-11-22 14:47:10 +00:00
Ralf Becker
e68255167e
IE fails, if windows name in egw_openWindowCentered2 contains something no a letter, number or underscore --> removing it
2010-11-17 12:31:13 +00:00
Ralf Becker
4429ffa4b9
add dhtmlxMenu as context menu for dhtmxTree
2010-10-18 19:25:33 +00:00
Ralf Becker
351151bd5f
fixed wrong case after update
2010-10-18 10:01:46 +00:00
Ralf Becker
f779454f4c
only provide old pathes for old functionality, new code can use new path dhtmlxTree/codebase
2010-10-15 16:16:07 +00:00
Ralf Becker
197fdee2a4
updated dhtmlxtree to version 2.6
2010-10-15 10:04:07 +00:00
Ralf Becker
77bede9db4
removed dhtmlxtree 1.2 to import current version 2.6
2010-10-15 10:02:33 +00:00
Ralf Becker
d7d719a73d
do NOT return buttons, unless they are pressed
2010-10-12 13:56:40 +00:00
Nathan Gray
8728ba5512
- Implement request.abort() to cancel a request
...
- Check that the response is there before trying to access a key inside it
- Don't return null for encoding 0
2010-08-10 14:58:54 +00:00
Andreas Stöckel
408a9ece4f
Fixed typo which prevented IE js load from working correctly
2010-07-21 10:52:18 +00:00
Andreas Stöckel
9615c33fe8
Fixed JS loadFinished notification on IE
2010-07-21 10:26:54 +00:00
Andreas Stöckel
70319aefd6
Added some docu and checks for console.log being defined
2010-07-20 10:54:56 +00:00
Andreas Stöckel
7ad65804d5
Added onLoadFinish event to egw_json_response on the js side, which gets triggered when all javascript code which should be included has been loaded and evaluated on the client
2010-07-20 10:20:32 +00:00
Nathan Gray
80706f34b7
If error details are included, show them in the log
2010-07-09 13:00:46 +00:00
Andreas Stöckel
b5e33eab09
- Fixed etemplate input dirty handling
...
- Now generating an widget object tree in widget.js
- Added generic response to egw_json
- Moved "getFramework" function to jsapi and renamed it to "egw_getFramework"
- Added plugin system to egw_json
- Transformed the jQuery "replaceWith" call form class.etemplate_form.inc.php into an own json plugin
- Fixed label creation for et_html
2010-07-08 12:03:13 +00:00
Andreas Stöckel
0867ed78d8
Added missing console.info dummy function
2010-07-01 13:52:55 +00:00
Andreas Stöckel
47a7fc9337
- Added "beforeSubmit" callback handler to the PHP json class
...
- Added "clientCall" and "clientSetOption" function to the base etemplate widget class
- Got the client side HTML area widget work with the new functions described above
2010-06-30 09:13:17 +00:00
Andreas Stöckel
23a87dc2f9
Updated ckeditor to new version
2010-06-25 10:27:42 +00:00
Andreas Stöckel
7520c468c7
Moved egw_seperateJavaScript to jsapi
2010-06-22 14:39:27 +00:00
Ralf Becker
bf7b241b0c
Added error message, if ajax request failed
2010-06-22 10:19:33 +00:00