filemanager stuff

This commit is contained in:
Serghey Rodin 2015-09-07 17:35:40 +03:00
parent 6a7b3d65c4
commit 9db728e1ad
15 changed files with 1878 additions and 481 deletions

View file

@ -2,7 +2,12 @@
{
jQuery.fn.flayer_close = function()
{
jQuery(this).flayer.close();
try {
jQuery(this).flayer.close();
}
catch (e) {
fb.error(e);
}
}
jQuery.fn.flayer = function(params)
{
@ -15,8 +20,9 @@
id : 'floating-box',
className : 'floating-box-class',
zIndex : 5000,
beforeStart : function(){},
beforeEnd : function(){},
beforeStart : function() {},
beforeEnd : function() {},
afterStart: function() {},
close : null,
closeClass : 'close-floating-layer',
outerClose : false,
@ -207,6 +213,7 @@
jQuery(ref.content).append(jQuery(elm).removeClass('hidden'));
start_ovservers();
jQuery(ref.container).removeClass('hidden').css({'display':'block'});
config.afterStart(elm);
}
//