summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-17 13:48:23 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-17 13:48:23 +0000
commit4cea150a5fd936a909792159cac7f5912d215dcd (patch)
treecdeb0dca2d28db2d8c52f32855561dc57a57f4bb /roundcubemail/program/js/app.js
parentbef8e6f7f2151841fc068266694414115309caaf (diff)
- use jQuery.inArray() instead of rcube_in_array()
git-svn-id: https://svn.roundcube.net/trunk@3371 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index a5114fadf..7aca3d8de 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -733,7 +733,7 @@ function rcube_webmail()
var qstring = '_mbox='+urlencode(this.env.mailbox)+'&_uid='+this.env.uid+'&_part='+props.part;
// open attachment in frame if it's of a supported mimetype
- if (this.env.uid && props.mimetype && find_in_array(props.mimetype, this.mimetypes)>=0)
+ if (this.env.uid && props.mimetype && jQuery.inArray(props.mimetype, this.mimetypes)>=0)
{
if (props.mimetype == 'text/html')
qstring += '&_safe=1';
@@ -4276,12 +4276,12 @@ function rcube_webmail()
this.env.flagged_col = null;
var found;
- if((found = find_in_array('subject', this.env.coltypes)) >= 0) {
+ if((found = jQuery.inArray('subject', this.env.coltypes)) >= 0) {
this.set_env('subject_col', found);
if (this.message_list)
this.message_list.subject_col = found+1;
}
- if((found = find_in_array('flag', this.env.coltypes)) >= 0)
+ if((found = jQuery.inArray('flag', this.env.coltypes)) >= 0)
this.set_env('flagged_col', found);
};