Projects
Kolab:3.4
roundcubemail
roundcubemail-1.1-appjs.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File roundcubemail-1.1-appjs.patch of Package roundcubemail (Revision 47)
Currently displaying revision
47
,
Show latest
diff -ur roundcubemail-1.1-2-assets/program/js/app.js roundcubemail-1.1/program/js/app.js --- roundcubemail-1.1-2-assets/program/js/app.js 2014-10-13 10:04:50.996719819 +0200 +++ roundcubemail-1.1/program/js/app.js 2014-10-13 10:09:02.723630175 +0200 @@ -58,7 +58,6 @@ request_timeout: 180, // seconds draft_autosave: 0, // seconds comm_path: './', - blankpage: 'program/resources/blank.gif', recipients_separator: ',', recipients_delimiter: ', ', popup_width: 1150, @@ -163,6 +162,9 @@ return; } + if (!this.env.blankpage) + this.env.blankpage = (this.env.assets_path ? this.env.assets_path : '') + 'program/resources/blank.gif'; + // find all registered gui containers for (n in this.gui_containers) this.gui_containers[n] = $('#'+this.gui_containers[n]); @@ -7972,7 +7974,7 @@ img.onload = function() { ref.env.browser_capabilities.tif = 1; }; img.onerror = function() { ref.env.browser_capabilities.tif = 0; }; - img.src = 'program/resources/blank.tif'; + img.src = (this.env.assets_path ? this.env.assets_path : '') + 'program/resources/blank.tif'; }; this.pdf_support_check = function() diff -ur roundcubemail-1.1-2-assets/public_html/program/js/app.js roundcubemail-1.1/public_html/program/js/app.js --- roundcubemail-1.1-2-assets/public_html/program/js/app.js 2014-10-13 10:04:50.996719819 +0200 +++ roundcubemail-1.1/public_html/program/js/app.js 2014-10-13 10:09:02.723630175 +0200 @@ -58,7 +58,6 @@ request_timeout: 180, // seconds draft_autosave: 0, // seconds comm_path: './', - blankpage: 'program/resources/blank.gif', recipients_separator: ',', recipients_delimiter: ', ', popup_width: 1150, @@ -163,6 +162,9 @@ return; } + if (!this.env.blankpage) + this.env.blankpage = (this.env.assets_path ? this.env.assets_path : '') + 'program/resources/blank.gif'; + // find all registered gui containers for (n in this.gui_containers) this.gui_containers[n] = $('#'+this.gui_containers[n]); @@ -7972,7 +7974,7 @@ img.onload = function() { ref.env.browser_capabilities.tif = 1; }; img.onerror = function() { ref.env.browser_capabilities.tif = 0; }; - img.src = 'program/resources/blank.tif'; + img.src = (this.env.assets_path ? this.env.assets_path : '') + 'program/resources/blank.tif'; }; this.pdf_support_check = function()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.