fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15976] tweak notify info


From: sigurdne
Subject: [Fmsystem-commits] [15976] tweak notify info
Date: Wed, 9 Nov 2016 13:55:41 +0000 (UTC)

Revision: 15976
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15976
Author:   sigurdne
Date:     2016-11-09 13:55:41 +0000 (Wed, 09 Nov 2016)
Log Message:
-----------
tweak notify info

Modified Paths:
--------------
    trunk/property/js/portico/notify.js

Modified: trunk/property/js/portico/notify.js
===================================================================
--- trunk/property/js/portico/notify.js 2016-11-09 13:54:55 UTC (rev 15975)
+++ trunk/property/js/portico/notify.js 2016-11-09 13:55:41 UTC (rev 15976)
@@ -20,9 +20,10 @@
                alert(notify_lang_alert);
                return;
        }
+       var width = Math.round(window.innerWidth * 0.95);
        var oArgs = {menuaction: 'property.uilookup.addressbook', column: 
'notify_contact', clear_state:1};
        var strURL = phpGWLink('index.php', oArgs);
-       TINY.box.show({iframe: strURL, boxid: "frameless", width: 750, height: 
450, fixed: false, maskid: "darkmask", maskopacity: 40, mask: true, animate: 
true, close: true});
+       TINY.box.show({iframe: strURL, boxid: "frameless", width: width, 
height: 450, fixed: false, maskid: "darkmask", maskopacity: 40, mask: true, 
animate: true, close: true});
 };
 
 /* This one is added dynamically from php-class 
property_notify::get_jquery_table_def()




reply via email to

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