summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-17 13:48:23 +0000
committeralecpl <alec@alec.pl>2010-03-17 13:48:23 +0000
commit81ab85e5ab9377fd805a91a78388ad9775366a34 (patch)
tree9261498ff0d54dafd8cee82e0c80ca923845464c /program/js/app.js
parent71e7545f946a6dd5a3052cd659e51dc4be3fecbc (diff)
- use jQuery.inArray() instead of rcube_in_array()
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index a5114fadf..7aca3d8de 100644
--- a/program/js/app.js
+++ b/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);
};