Nathan Gray
8c74ba7383
Use jQuery to decode all entities in caption for confirm prompt
2012-10-15 18:40:11 +00:00
Ralf Becker
a415cbf259
use egw object for given app and window, to open non-popup pm view in projectmanager iframe for jdots template
2012-05-22 15:40:10 +00:00
Frédéric Erpicum
e2cb9b44e7
resolve problems in opening windows for viewing or editing in projectmanager
2012-05-17 09:26:25 +00:00
Ralf Becker
e2a662289b
fixed nm_active_link, to also active links, not only onclick handlers
2012-03-13 11:08:02 +00:00
Ralf Becker
dd8a5cf29e
* Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open)
2012-03-08 18:43:40 +00:00
Ralf Becker
043b895a04
ability to open nm_action=location in a given targetapp tab, plus documentation
2012-01-07 23:02:29 +00:00
Ralf Becker
0947430796
missing encoding of id
2011-09-06 06:23:12 +00:00
Nathan Gray
843a378b65
Fix clearing of nm_popup_action resulting in a submit for the second time a popup was shown
2011-08-08 17:35:01 +00:00
Ralf Becker
03e379e570
* 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:00:36 +00:00
Ralf Becker
d654437a54
- allow confirmation only for multiple selected
...
- confirm, confirm_multiple and allowOnMultiple get now inherited by children (@Andreas: allowOnMultiple does NOT work on children for some reason)
- add confirmation for more then one receipient in mail merge
- translations for etemplate part
2011-06-30 17:35:52 +00:00
Ralf Becker
be57f2a37b
new standard action to active the first link in a row, fixed numeric id's det Del shortcut
2011-06-30 12:43:04 +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
509ff8aa53
Flagging next-match widget container as default-focus object
2011-06-15 20:50:24 +00:00
Andreas Stöckel
7f9db3701b
Commited code for nextmatchRowAOI to support the new EGW_SELECTMODE_TOGGLE
2011-06-15 15:49:05 +00:00
Nathan Gray
ec56327c20
If action specifies target for location, use it
2011-06-06 20:22:49 +00:00
Ralf Becker
476a0c0a6d
remove leading whitespace from caption used as confirmation message
2011-06-03 18:45:40 +00:00
Andreas Stöckel
bb8a28b6d7
Fixed typo in select handler assignment
2011-06-03 11:26:12 +00:00
Andreas Stöckel
6c1e8e0d06
Made selection on mobile devices work with touchend and not click (not final)
2011-06-02 22:50:35 +00:00
Ralf Becker
3bbc6a6962
- egw_open nm_action using new clientside link registry
...
- enabling/disabling actions based on row-id matching a regular expression
- children/submenus inherit 'url','popup','nm_action','onExecute','type','egw_open' attributes
2011-06-02 20:03:34 +00:00
Andreas Stöckel
4cb37be5d3
Implemented usage of global action manager and object manager for nextmatch widget
2011-06-02 14:49:56 +00:00
Ralf Becker
c9fbcc329e
if no confirm_msg given, use caption instead for select_all confirmation
2011-06-01 11:30:08 +00:00
Nathan Gray
c93de715bc
Clear action in case there's another one, prevents doubling
2011-05-17 19:13:55 +00:00
Ralf Becker
0ced6fcf51
- storing etemplate form name and variable prefix into egw_actionManager to be able to work on a 2. eTemplate on a page (InfoLog in Addressbook view)
...
- moving (open|hide|submit)_popup used in InfoLog and Tracker to etemplate, so code can be shared
--> change 'onExecute' => 'javaScript:open_popup' to 'nm_action' => 'open_popup' and onclick="(hide|submit)_popup()" to onclick="nm_(hide|submit)_popup()"
2011-05-07 08:47:58 +00:00
Ralf Becker
366aa7c05a
- allow to specify to use selectbox, instead of category selection for category
...
- allow to specify name of action (infolog already uses 'action')
2011-05-06 18:10:50 +00:00
Ralf Becker
60edb83929
enable via a class and no more need to set enabled='javascript:nm...' for enableClass or disableClass
2011-04-27 16:54:35 +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
98a2731116
- fixed not working add or remove category method from context menu
...
- disabling actions not available, because of missing rights
- trying to disable "remove from distribution list" and "delete distribution list", when no list is selected
--> not yet working
2011-04-25 14:13:40 +00:00
Ralf Becker
2ccc4465e5
for select-all, show regular confirmation message plus select-all hint
2011-04-25 12:15:05 +00:00
Ralf Becker
a88288abd4
fixed not working confirmation, after whole-query was selected and deselected (can not insert false in hidden input)
2011-04-17 21:17:47 +00:00
Ralf Becker
bb0e8617b2
enable/disable edit and delete action, based on ACL rights, set as css classes to each row
2011-04-17 20:45:21 +00:00
Ralf Becker
6081a5749d
timesheet context menus are now complete:
...
- query all is moved into context menu
- legacy support only contains button to trigger context menu
- moved some common phrases into the API:
+ Delete this entry
+ Delete these entries
+ You need to select some entries first!
- support for singular and plural confirmation messages
2011-04-17 18:53:45 +00:00
Andreas Stöckel
5e014cdfe2
Fixed problem with commiting forms in Firefox
2011-04-17 16:53:24 +00:00
Ralf Becker
752cd7249f
replacing now $id in url with actual id, not longer adding it if url ends with =
2011-04-17 09:52:54 +00:00
Ralf Becker
806d3d604c
added context menu for nextmatch widget: first implemenation in timesheet
...
- legacy actions column and multiple action row below table is switched off by default, but can be switched on again
- legacy action button is NOT yet working
- "whole query" checkbox need to go into context menu too
2011-04-16 21:45:13 +00:00
Andreas Stöckel
4b380ca119
Improved nextmatch row aoi and added AJAX-actions for createdir and symlink to filemanager_ui
2011-03-23 20:07:07 +00:00
Andreas Stöckel
20b769678f
Updated aoi code, prevented unwanted browser selection, row is only selectable when a checkbox is found
2011-03-22 19:55:57 +00:00
Andreas Stöckel
f6d0edbdc1
Added basic support for the egw_action framework in the nextmatch widget (currently not active)
2011-03-22 17:06:02 +00:00