1. 변경된 클래스 이름 적용

2. 파일 목록 <li>가 <ul>에 추가되지 않던 버그 수정


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7836 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-11-15 09:23:18 +00:00
parent 8beee290d8
commit a172c39012

View file

@ -2095,10 +2095,10 @@ FileUpload = xe.createPlugin('FileUpload', {
activate : function() {
var self = this, app = this.oApp, $tb = app.$toolbar;
this.$modal_box = app.$root.find('div.xdmw');
this.$modal_box = app.$root.find('div.xdlw');
if (this.$modal_box.length) {
this.$attach_list = this.$modal_box.find('div.al');
this.$attach_list = this.$modal_box.find('div.xdal');
this.$attach_list
.mousedown(function(event){ event.stopPropagation(); })
.find('button.btn.cs')
@ -2248,7 +2248,7 @@ FileUpload = xe.createPlugin('FileUpload', {
for(i=old_len,c=files.length; i < c; i++) {
$item = self.createItem(files[i]).addClass('uploading').attr('_key', self.getKey(files[i]));
type = $item.attr('_type');
$list = self.$file_list.filter('.'+type).append($item);
$list = self.$file_list.filter('.'+type).find('ul').append($item).end();
($ob = $item.find('>button.ob'))
.data('html', $ob.html())