fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12268] return emtpy on empty...


From: Sigurd Nes
Subject: [Fmsystem-commits] [12268] return emtpy on empty...
Date: Wed, 05 Nov 2014 12:02:48 +0000

Revision: 12268
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12268
Author:   sigurdne
Date:     2014-11-05 12:02:48 +0000 (Wed, 05 Nov 2014)
Log Message:
-----------
return emtpy on empty...

Modified Paths:
--------------
    branches/dev-syncromind/phpgwapi/js/jquery/common.js

Modified: branches/dev-syncromind/phpgwapi/js/jquery/common.js
===================================================================
--- branches/dev-syncromind/phpgwapi/js/jquery/common.js        2014-11-05 
11:50:51 UTC (rev 12267)
+++ branches/dev-syncromind/phpgwapi/js/jquery/common.js        2014-11-05 
12:02:48 UTC (rev 12268)
@@ -17,6 +17,10 @@
 };
 
 JqueryPortico.formatLinkGeneric = function(key, oData) {
+       if(!oData[key])
+       {
+               return '';
+       }
        var name = 'Link';
        var link = oData[key];
        return '<a href="' + link + '">' + name + '</a>';




reply via email to

[Prev in Thread] Current Thread [Next in Thread]