From 677e1f26fe47cc0c3e0819cb99a9024af49a619c Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 18 May 2010 10:25:29 +0000 Subject: - Some files from /bin + spellchecking actions moved to the new 'utils' task --- program/js/app.js | 6 ++---- program/js/googiespell.js | 4 ++-- program/js/list.js | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 253d8591d..dfd7c9f87 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -50,7 +50,6 @@ function rcube_webmail() this.env.request_timeout = 180; // seconds this.env.draft_autosave = 0; // seconds this.env.comm_path = './'; - this.env.bin_path = './bin/'; this.env.blankpage = 'program/blank.gif'; // set jQuery ajax options @@ -4825,8 +4824,7 @@ function rcube_webmail() } // replace quota image - obj.innerHTML = ''; - $(obj).append(bar1).append(bar2).append(main); + $(obj).html('').append(bar1).append(bar2).append(main); }; /********************************************************/ @@ -4836,7 +4834,7 @@ function rcube_webmail() this.html2plain = function(htmlText, id) { var rcmail = this, - url = this.env.bin_path + 'html2text.php'; + url = '?_task=utils&_action=html2text'; this.set_busy(true, 'converting'); console.log('HTTP POST: ' + url); diff --git a/program/js/googiespell.js b/program/js/googiespell.js index 5f201b7a1..c7be29e57 100644 --- a/program/js/googiespell.js +++ b/program/js/googiespell.js @@ -855,9 +855,9 @@ this.flashNoSpellingErrorState = function(on_finish) { no_spell_errors = function () { ref.checkSpellingState() }; var rsm = $('').text(this.lang_no_error_found); - + $(this.switch_lan_pic).hide(); - $(this.spell_span).empty().append(rsm) + $(this.spell_span).empty().append(rsm) .removeClass().addClass('googie_check_spelling_ok'); window.setTimeout(no_spell_errors, 1000); diff --git a/program/js/list.js b/program/js/list.js index 42149d6a1..8cfd05e49 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1315,7 +1315,7 @@ add_dragfix: function() }) .css($(this).offset()) .appendTo(document.body); - }); + }); }, -- cgit v1.2.3