mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 06:39:56 +09:00
rollback to revision 7819
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7835 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
85178c65ba
commit
8beee290d8
1 changed files with 4710 additions and 4710 deletions
|
|
@ -2095,10 +2095,10 @@ FileUpload = xe.createPlugin('FileUpload', {
|
||||||
activate : function() {
|
activate : function() {
|
||||||
var self = this, app = this.oApp, $tb = app.$toolbar;
|
var self = this, app = this.oApp, $tb = app.$toolbar;
|
||||||
|
|
||||||
this.$modal_box = app.$root.find('div.xdlw');
|
this.$modal_box = app.$root.find('div.xdmw');
|
||||||
|
|
||||||
if (this.$modal_box.length) {
|
if (this.$modal_box.length) {
|
||||||
this.$attach_list = this.$modal_box.find('div.xdal');
|
this.$attach_list = this.$modal_box.find('div.al');
|
||||||
this.$attach_list
|
this.$attach_list
|
||||||
.mousedown(function(event){ event.stopPropagation(); })
|
.mousedown(function(event){ event.stopPropagation(); })
|
||||||
.find('button.btn.cs')
|
.find('button.btn.cs')
|
||||||
|
|
@ -2304,9 +2304,9 @@ FileUpload = xe.createPlugin('FileUpload', {
|
||||||
$item.find('button.ob > img')
|
$item.find('button.ob > img')
|
||||||
.load(function(){
|
.load(function(){
|
||||||
if(this.width > this.height){
|
if(this.width > this.height){
|
||||||
$(this).css('width', '98px');
|
$(this).css('width', '100%');
|
||||||
} else {
|
} else {
|
||||||
$(this).css('height', '98px');
|
$(this).css('height', '100%');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.attr('src', f.download_url);
|
.attr('src', f.download_url);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue