--- /dev/null
+(function($) {
+ $.fn.cuteform = function() {
+ $('form.cuteform', this).each(function(index) {
+ var formLabels = $('label', this)
+ var maxWidth = 0;
+
+ formLabels.each(function() {
+ maxWidth = max(maxWidth, this);
+ });
+ formLabels.width(maxWidth);
+ });
+ };
+})(jQuery)
\ No newline at end of file
COMPRESS_JS = {
'all': {
'source_filenames': ('js/jquery.js', 'js/jquery.autocolumn.js', 'js/jquery.autocomplete.js',
- 'js/jquery.form.js', 'js/jquery.jqmodal.js', 'js/jquery.labelify.js',),
+ 'js/jquery.form.js', 'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/jquery.cuteform.js'),
'output_filename': 'js/all.min.js',
}
}