Commit Graph

43 Commits

Author SHA1 Message Date
Ralf Becker
aa31a8705f fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs 2016-02-29 20:40:43 +00:00
Hadi Nategh
809ad4a678 Fix click handler does not work always for images with href attribute 2015-04-09 10:52:05 +00:00
Hadi Nategh
69fe18d1e0 Do not show expose thumbnail for single media entry 2015-03-31 10:31:25 +00:00
Hadi Nategh
320816b4cb Do not show thumbnail indicator for image widget expose view 2015-03-24 18:16:10 +00:00
Hadi Nategh
9c23cb33f4 Fix image widget calling expose view with wrong value 2015-02-25 11:12:47 +00:00
Hadi Nategh
95007f20d6 Fix base_urls for expose view in vfs and image widget 2015-01-20 18:47:08 +00:00
Hadi Nategh
fc5d0cab49 Introduce expose view to image widget
- The expose view only be shown if the image widget have href value
2015-01-20 11:56:51 +00:00
Hadi Nategh
b4adc01f6e Introduce new attribute to image widget in order to show image as a tooltip next to the widget with provided source 2014-09-29 16:29:17 +00:00
Ralf Becker
21d3dce3e4 adding et2_appicon class 2014-08-21 09:47:30 +00:00
Ralf Becker
e41fbe59ff using current app, if no or empty source given 2014-03-06 07:50:06 +00:00
Ralf Becker
2a06876b78 widget to display an application icon 2014-03-03 16:50:01 +00:00
Ralf Becker
c2aad7342f fixed not translated tooltip/label 2014-02-03 10:15:47 +00:00
Ralf Becker
6d7e64037b implemented a default_src attribute, which get used if src is not found in image-cache and fixed not working detached label attribute 2014-01-31 14:12:09 +00:00
Nathan Gray
c675cd558e Don't initialize href, fixes href = "" on every image 2014-01-20 15:19:38 +00:00
Hadi Nategh
bb07598beb Add set_href function to image widget,which wraps the image with <a> tag and binds a click handler to it 2014-01-17 15:58:58 +00:00
Ralf Becker
cb8b279e94 fixed image widget uses index.php for not found images 2014-01-14 17:08:41 +00:00
Nathan Gray
5179794f15 Fix constant warnings about not found images when image was in nextmatch row and src was '' for the row 2014-01-09 11:43:15 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Nathan Gray
a6371947bb Get linked image from array working 2012-07-24 21:16:44 +00:00
Ralf Becker
2630a39651 moved egw_links.js window contect specific parts to egw_open.js: egw().open() and egw().open_link() renamed from egw().call_link() 2012-03-28 12:37:03 +00:00
Andreas Stöckel
34a43e8869 Various bug fixes in the grid, implemented prefetching, workaround for performance issues regarding update, removed _lastModification 2012-03-26 15:28:02 +00:00
Nathan Gray
2df89f73ab Remove redundant code - api handles this 2012-03-08 16:57:23 +00:00
Andreas Stöckel
69c7697e61 Fixed problem with infolog-image 'not-started' not found in grid; causes new problem with some buttons being displayed twice (caused by this.image=null in et2_widget_button.js::180) 2012-03-06 16:29:18 +00:00
Nathan Gray
ac01014a14 Translate select box options (including empty selection text) using proper egw object 2012-03-05 21:40:44 +00:00
Andreas Stöckel
14e6ceecb6 Integrated application specifig egw api into etemplate2 code 2012-03-02 10:44:56 +00:00
Nathan Gray
3bc0bdfd35 Don't overwrite parent variable 'node' 2011-10-24 21:58:42 +00:00
Nathan Gray
9b7cd5019c Silence some messages about missing attribute attributes 2011-09-27 23:44:07 +00:00
Nathan Gray
96bb751a26 Allow full URLs as images, don't try to split off the app 2011-09-22 21:39:34 +00:00
Nathan Gray
390bb1f6f0 Get all button images working (in timesheet & infolog list at least) 2011-09-22 21:23:30 +00:00
Nathan Gray
2302de28f2 Add some et2_IDetachedDOM handling 2011-09-14 20:52:59 +00:00
Nathan Gray
812242a224 Get images working in buttons, sort of
-- Don't know what's happening with events in the grid.  Something happens if you double click, but it's not the button's click method.
2011-09-14 18:37:38 +00:00
Nathan Gray
8b1a63e1ee Transform attributes before passing them to the row's widget 2011-09-14 15:44:54 +00:00
Nathan Gray
6b361f770f Handle app/image_name style values 2011-09-14 00:04:54 +00:00
Ralf Becker
bef3880b48 fixed wrong name 2011-09-09 08:28:40 +00:00
Ralf Becker
ea03c4032b implemented link attributes for image-widget and added them to xulio, some docu for describtion 2011-09-08 20:44:53 +00:00
Andreas Stöckel
57dc999881 Activating et2_IDetachedDOM implementation of et2_image widget as image and progressbar are now to seperate widgets 2011-09-08 19:36:48 +00:00
Andreas Stöckel
87c0db7be1 Fixed correct expanding of names and implemented the dataProvider class 2011-09-08 18:36:09 +00:00
Nathan Gray
02c414129a Check for name expansion 2011-09-06 19:53:14 +00:00
Andreas Stöckel
b99c338511 Fixed IE compatibility 2011-09-02 16:23:26 +00:00
Nathan Gray
c953c58b17 Remove warning, not needed 2011-08-31 19:48:07 +00:00
Nathan Gray
0dea78ab2e - Pull application name from template ID for image
- Use label as tooltip
- Apply CSS classes to image
2011-08-31 16:00:45 +00:00
Ralf Becker
499726cb23 using egw.image(), thought there are some problems:
- src attribute get never translated: fixed
- label is in etemplate not the alt attribute, it is a title / tooltip (probably ok as alt too)
- egw.image should be called with appname part of template
- if image is not found, etemplate should render an empty widget, not a broken one
2011-08-31 06:29:51 +00:00
Nathan Gray
8a632c723a - Add image widget
- Add missing dependency on et2_core_common
2011-08-30 20:56:01 +00:00