From e36636dd9418c3188552d2cfe5fb273cee1c3887 Mon Sep 17 00:00:00 2001 From: lansi951 Date: Tue, 26 Aug 2014 16:41:39 +0900 Subject: [PATCH] replace andSelf() --- modules/editor/tpl/js/uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/tpl/js/uploader.js b/modules/editor/tpl/js/uploader.js index 8321ae3e6..58498abca 100755 --- a/modules/editor/tpl/js/uploader.js +++ b/modules/editor/tpl/js/uploader.js @@ -333,7 +333,7 @@ function previewFiles(event, file_srl) { var $opt, $select, $preview, fileinfo, filename, match, html, $=jQuery; if(!file_srl) { - $opt = $(event.target).parent().andSelf().filter('select').find('>option:selected'); + $opt = $(event.target).parent().addBack().filter('select').find('>option:selected'); if(!$opt.length) return; file_srl = $opt.attr('value');