Fixes in popup and posting2
This commit is contained in:
parent
82db143dc0
commit
c261d12284
2 changed files with 25 additions and 6 deletions
19
popup.js
19
popup.js
|
|
@ -242,6 +242,25 @@ $=jQuery;
|
|||
|
||||
$(this).on('click', function (e) {
|
||||
|
||||
if(pre_callback!=undefined)
|
||||
{
|
||||
|
||||
r=pre_callback(popup, this);
|
||||
|
||||
if(r!=undefined)
|
||||
{
|
||||
|
||||
if(r===false)
|
||||
{
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//Show layer_popup
|
||||
|
||||
body_height=$("body").height();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue