Commit Graph

43 Commits

Author SHA1 Message Date
Nathan Gray
a866eb5ed9 Fix details filter not properly changing 2014-06-04 18:43:21 +00:00
Hadi Nategh
a7ecc60a5e Make sure that _links is not undefined 2014-05-27 13:36:40 +00:00
Hadi Nategh
d58b111165 Remove _targetapp argument from observer and add _links. Additionally, make sure if the application, fired observer, is linked and needs to be refreshed 2014-05-26 14:01:18 +00:00
Ralf Becker
893091e286 - new app.js observer method which receives update notifications from all apps
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +00:00
Hadi Nategh
d322ee7ec4 Add print item in infolog context menu and onload print functionality 2014-05-20 10:51:37 +00:00
Nathan Gray
354a8426af - Fix $action gets lost if an action (delete) is done
- Fix deleted filter + link showed no results
2014-04-28 20:25:40 +00:00
Hadi Nategh
ffb1159851 Fix setting nm left_header to a none existing template in infolog index 2014-03-07 11:55:11 +00:00
Nathan Gray
8b9f806b1f - Fix start date filter date selection
- Add end date filter (uses date selection)
2014-03-06 22:12:50 +00:00
Ralf Becker
3e07afb9ac using new et2_ready signature incl. template name and fixed IDE warnings 2014-03-03 09:28:56 +00:00
Nathan Gray
c7de2d229d Better check to make sure change callback doesn't run during template rendering - handles template reloads 2014-01-10 15:02:50 +00:00
Nathan Gray
5ae4da09cd Make sure change callback doesn't run during template rendering 2014-01-10 14:25:41 +00:00
Nathan Gray
1bace180cf - Fix add popup with extras to handle multiple infolog nextmatches
- Fix setting primary link
2013-11-28 17:34:28 +00:00
Nathan Gray
5c6cceaa53 - Add js function to open a edit dialog with some fields pre-filled (type, category, action), use for buttons in nm right header
- Use different DOM ID for list when called from elsewhere
2013-11-27 00:17:08 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +00:00
Ralf Becker
a6311fa1a3 creating and using an app-specific egw object 2013-10-07 16:53:13 +00:00
Hadi Nategh
9341d7d31a Fix Add link in infolog SideMenu by using egw.open() 2013-09-25 09:20:32 +00:00
Hadi Nategh
49f9935b60 Fix to open the edit popup window with right size, attempts to open from sidemenu "Add" link 2013-09-19 13:47:02 +00:00
Hadi Nategh
a661d52de2 Infolog: Prefix name on css classes 2013-09-19 12:52:50 +00:00
Hadi Nategh
019db13e33 Handle, infolog->add link in sidebox menu via app.js, instead of using inline script on infolog_hook 2013-09-13 13:51:33 +00:00
Ralf Becker
af6e15e5cd removed left over prefix 2013-08-28 13:28:15 +00:00
Hadi Nategh
7ee2c05955 remove extra app prefixes from method names in app.js, for both infolog and timesheet applications 2013-08-27 10:46:42 +00:00
Hadi Nategh
9217768b07 Add new app.js to infolog application, missing from r43502. 2013-08-26 09:45:43 +00:00
Hadi Nategh
589e4ecfbc add app.js to infolog application, add ajax=true to index (enable drag-and-drop), and run infolog app by et2 2013-08-26 09:19:47 +00:00
Nathan Gray
a367693ac0 Fix CC line search display 2012-11-13 22:31:57 +00:00
Nathan Gray
2bb8169ded Get CC search working for et2 2012-06-06 17:16:29 +00:00
Nathan Gray
7184574fab Get details filter working in et & et2 2012-04-30 20:29:34 +00:00
Nathan Gray
383a78768f Get delete confirm popup working with et2 as well as old etemplate 2012-04-10 20:28:31 +00:00
Nathan Gray
455cc8a5d8 Make js work with et2 structure 2012-04-09 21:36:10 +00:00
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