mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
remove key from filebox
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9011 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c1417a889e
commit
455aeb4326
1 changed files with 2 additions and 3 deletions
|
|
@ -715,10 +715,9 @@ jQuery(function($){
|
|||
$('.filebox')
|
||||
.bind('before-open.mw', function(){
|
||||
var $this, $list, $parentObj;
|
||||
var key, anchor;
|
||||
var anchor;
|
||||
|
||||
$this = $(this);
|
||||
key = $this.attr('filebox_key');
|
||||
anchor = $this.attr('href');
|
||||
|
||||
$list = $(anchor).find('.filebox_list');
|
||||
|
|
@ -729,7 +728,7 @@ $('.filebox')
|
|||
$list.find('.lined .select')
|
||||
.bind('click', function(event){
|
||||
var selectedImgSrc = $(this).parent().find('img.filebox_item').attr('src');
|
||||
$this.trigger('filebox.selected', [key, selectedImgSrc]);
|
||||
$this.trigger('filebox.selected', [selectedImgSrc]);
|
||||
$this.trigger('close.mw');
|
||||
return false;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue