Commit Graph

15 Commits

Author SHA1 Message Date
Nathan Gray
8d9c033cbf Check to make sure element is there before looking inside 2012-04-05 20:16:54 +00:00
Ralf Becker
15d8b369f5 if status changed to ongoing, set percent to 10 2012-03-22 08:49:50 +00:00
Ralf Becker
5b4c2898b1 * InfoLog: if one of status, percent or datecompleted changed, change others to reasonable values 2012-03-18 14:44:16 +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
8d7d6e1480 get delete confirmation working again, after change to global actionManager 2011-06-03 08:55:18 +00:00
Ralf Becker
81ea3b639c - using now nm_(open|hide|submit)_popup and nm_action => 'open_popup'
- fixes not working actions in InfoLog list in Addressbook view
- fixed not working adding/removing of responsible users
2011-05-07 08:51:35 +00:00
Ralf Becker
c0c2a0ed0e - fixed not working delete - was commented ;-)
- using original labels, for which we have translations
- always confirm with popup, not javascript confirm (makes things a lot easier)
2011-05-05 06:30:44 +00:00
Nathan Gray
03cd666e8b Implement client side delete confirmation 2011-05-03 23:31:40 +00:00
Ralf Becker
19cb4ca8d4 - got delegation and link via context working
- fixed sometimes not working context, because row id was not set
- disabling close and close all if not applicable
2011-05-03 07:26:32 +00:00
Nathan Gray
e92173afdd Work on context actions:
- Implement view of multiple selected parent / subs
- Implement link + delegation popups
- Fix filemanager action
- Change action selectbox to button, as in timesheet
2011-05-03 00:14:44 +00:00
Ralf Becker
1ef6edd5e8 Context menu for InfoLog: NOT YET COMPLETET, SOME STUFF WILL NOT WORK!
ToDo:
- implement view subs or parent from context
- test all context actions (some do not work)
- test CSS based disabling of actions
- change delegation or links popup not yet working (just an alert in index.js)
- delete of entries with subs (serverside confirmation displaying subs) probably not working
2011-05-02 19:41:21 +00:00
Nathan Gray
579d813ec9 * Add Cc field to Infolog 2011-03-08 19:18:07 +00:00
Nathan Gray
acf078a1c0 - Abstract multiple actions code to remove multiple if / switches
- Add multiple entry action to change entry delegation
2010-12-08 19:01:13 +00:00
Nathan Gray
b2b292603d - Fix incorrect result counts when using whole query
- Add action to change completion
- Give warning if trying to change the status of a done entry.  Completion of 100% will change it right back.
- Fix ACL when linking - only link to entries with EDIT permission
- Hide group types if user has no access to them
2010-11-23 17:56:56 +00:00
Nathan Gray
57866ca97e Infolog actions - missed JS file, changes to play nice from other apps when they include the js file 2010-11-22 22:44:52 +00:00