This commit is contained in:
2014-12-13 03:18:04 +01:00
parent ae20f82a43
commit 0e4b1a3e6d
24 changed files with 499 additions and 497 deletions

4
jquery/common.js vendored
View File

@@ -88,7 +88,7 @@ $.prototype.getEmptyHeight = function()
//debug('#'+$(this).attr('id')+'|.'+$(this).attr('class')+' gives '+$(this).outerHeight(true));
iTotalHeight += $(this).outerHeight(true);
});
return $This.height() - iTotalHeight;
return $This.innerHeight() - iTotalHeight;
};
$.prototype.getEmptyWidth = function()
@@ -98,7 +98,7 @@ $.prototype.getEmptyWidth = function()
{
iTotalWidth += $(this).outerWidth(true);
});
return $This.width() - iTotalWidth;
return $This.innerWidth() - iTotalWidth;
};
$.prototype.addDefaultValue = function(sDefaultValue, sInitValue)