R47509 - /trunk/tracker/js/app.js

Author: hnategh
New Revision: 47509

URL: http://svn.stylite.de/viewvc/egroupware?rev=47509&view=rev
Log:
Make sure there is baseURI before using it

Modified:
trunk/tracker/js/app.js

Modified: trunk/tracker/js/app.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/tracker/js/app.js?rev=47509&r1=47508&r2=47509&view=diff

— trunk/tracker/js/app.js (original)
+++ trunk/tracker/js/app.js Fri Jul 4 14:49:29 2014
@@ -143,13 +143,17 @@
*/
edit_popup: function()
{

  •   if (!this.et2.node.baseURI.match('[no][no_]popup'))
    
  •   {
    
  •   	window.focus();
    
  •   	if (this.et2.node.baseURI.match('composeid')) //tracker created by mail application
    
  •   if (typeof this.et2.node !='undefined' && typeof this.et2.node.baseURI != 'undefined')
    
  •   {
    
  •   	if (!this.et2.node.baseURI.match('[no][no_]popup'))
      	{
    
  •   		window.resizeTo(750,550);
    
  •   	}
    
  •   		window.focus();
    
  •   		if (this.et2.node.baseURI.match('composeid')) //tracker created by mail application
    
  •   		{
    
  •   			window.resizeTo(750,550);
    
  •   		}
    
  •   	}	
      }
    
    },

Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs