[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7406] frontend: more on entities
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7406] frontend: more on entities |
Date: |
Tue, 21 Jun 2011 06:11:19 +0000 |
Revision: 7406
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7406
Author: sigurdne
Date: 2011-06-21 06:11:18 +0000 (Tue, 21 Jun 2011)
Log Message:
-----------
frontend: more on entities
Modified Paths:
--------------
trunk/frontend/js/yahoo/entity.list.js
Modified: trunk/frontend/js/yahoo/entity.list.js
===================================================================
--- trunk/frontend/js/yahoo/entity.list.js 2011-06-20 13:21:29 UTC (rev
7405)
+++ trunk/frontend/js/yahoo/entity.list.js 2011-06-21 06:11:18 UTC (rev
7406)
@@ -113,6 +113,17 @@
}
+ var show_picture = function(elCell, oRecord, oColumn, oData)
+ {
+ if(oRecord.getData('img_id'))
+ {
+ var oArgs = {menuaction:'property.uigallery.view_file',
file:oRecord.getData('directory') + '/' + oRecord.getData('name')};
+ var sUrl = phpGWLink('index.php', oArgs);
+ elCell.innerHTML = "<a href=\""+sUrl+"\"
title=\""+oRecord.getData('name')+"\" id=\""+oRecord.getData('img_id')+"\"
rel=\"colorbox\" target=\"_blank\"><img src=\""+sUrl+"&thumb=1\"
alt=\""+oRecord.getData('name')+"\" /></a>";
+ }
+ }
+
+
/****************************************************************************************/
this.myParticularRenderEvent = function()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7406] frontend: more on entities,
Sigurd Nes <=