From cfc27c9b764985f707e8ca8d5ba663b6e4b01ecc Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 30 Jul 2012 10:00:35 +0200 Subject: Keep some resource files (images) in separate directory --- program/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index b1f563cd5..46621055d 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -48,7 +48,7 @@ function rcube_webmail() this.env.request_timeout = 180; // seconds this.env.draft_autosave = 0; // seconds this.env.comm_path = './'; - this.env.blankpage = 'program/blank.gif'; + this.env.blankpage = 'program/resources/blank.gif'; // set jQuery ajax options $.ajaxSetup({ @@ -6210,7 +6210,7 @@ function rcube_webmail() // have to do it this way for IE // otherwise the form will be posted to a new window if (document.all) { - var html = ''; + var html = ''; document.body.insertAdjacentHTML('BeforeEnd', html); } else { // for standards-compilant browsers @@ -6548,7 +6548,7 @@ function rcube_webmail() img.onload = function() { rcmail.env.browser_capabilities.tif = 1; }; img.onerror = function() { rcmail.env.browser_capabilities.tif = 0; }; - img.src = 'program/blank.tif'; + img.src = 'program/resources/blank.tif'; }; this.pdf_support_check = function() -- cgit v1.2.3