mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 10:50:08 +00:00
fixed open events...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8ec239a8ba
commit
aaabdaed69
@ -820,8 +820,6 @@ var BrowserPrototype = {
|
|||||||
|
|
||||||
var res = this.open(path)
|
var res = this.open(path)
|
||||||
|
|
||||||
this.trigger('open', path)
|
|
||||||
|
|
||||||
return res
|
return res
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -833,7 +831,12 @@ var BrowserPrototype = {
|
|||||||
open: function(path){
|
open: function(path){
|
||||||
path = path || this.path
|
path = path || this.path
|
||||||
var m = this.options.open
|
var m = this.options.open
|
||||||
return m ? m.apply(this, arguments) : path
|
var res = m ? m.apply(this, arguments) : path
|
||||||
|
|
||||||
|
this.trigger('open', path)
|
||||||
|
elem.trigger('open')
|
||||||
|
|
||||||
|
return res
|
||||||
},
|
},
|
||||||
|
|
||||||
// List the path...
|
// List the path...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user