Changeset 4195 in subversion
- Timestamp:
- Nov 8, 2010 8:21:41 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/js/app.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/app.js
r4191 r4195 1803 1803 return; 1804 1804 1805 var add_url = '',1806 target = window,1807 action = preview ? 'preview': 'show';1805 var target = window, 1806 action = preview ? 'preview': 'show', 1807 url = '&_action='+action+'&_uid='+id+'&_mbox='+urlencode(this.env.mailbox); 1808 1808 1809 1809 if (preview && this.env.contentframe && window.frames && window.frames[this.env.contentframe]) { 1810 1810 target = window.frames[this.env.contentframe]; 1811 add_url= '&_framed=1';1811 url += '&_framed=1'; 1812 1812 } 1813 1813 1814 1814 if (safe) 1815 add_url= '&_safe=1';1815 url += '&_safe=1'; 1816 1816 1817 1817 // also send search request to get the right messages 1818 1818 if (this.env.search_request) 1819 add_url += '&_search='+this.env.search_request; 1820 1821 var url = '&_action='+action+'&_uid='+id+'&_mbox='+urlencode(this.env.mailbox)+add_url; 1819 url += '&_search='+this.env.search_request; 1820 1822 1821 if (action == 'preview' && String(target.location.href).indexOf(url) >= 0) 1823 1822 this.show_contentframe(true); 1824 1823 else { 1825 if (!this.env.frame_lock) 1826 this.env.frame_lock = this.set_busy(true, 'loading'); 1827 if (preview) 1828 url += '&_unlock='+this.env.frame_lock; 1824 if (!this.env.frame_lock) { 1825 (parent.rcmail ? parent.rcmail : this).env.frame_lock = this.set_busy(true, 'loading'); 1826 } 1829 1827 target.location.href = this.env.comm_path+url; 1830 1828
Note: See TracChangeset
for help on using the changeset viewer.
