input templatees cleared from styles

This commit is contained in:
vitalets
2012-11-17 12:41:57 +04:00
parent 8b3755a19d
commit 522b90e918
5 changed files with 28 additions and 14 deletions

View File

@@ -88,14 +88,14 @@ $(function(){
Date.defaults = $.extend({}, $.fn.editableform.types.abstract.defaults, {
/**
@property tpl
@default <div style="float: left; padding: 0; margin: 0 0 9px 0"></div>
@default <div></div>
**/
tpl:'<div style="float: left; padding: 0; margin: 0 0 9px 0"></div>',
tpl:'<div></div>',
/**
@property inputclass
@default well
@default editable-date well
**/
inputclass: 'well',
inputclass: 'editable-date well',
/**
Format used for sending value to server. Also applied when converting date from <code>data-value</code> attribute.<br>
Possible tokens are: <code>d, dd, m, mm, yy, yyyy</code>

View File

@@ -106,14 +106,14 @@ $(function(){
DateUI.defaults = $.extend({}, $.fn.editableform.types.abstract.defaults, {
/**
@property tpl
@default <div style="float: left"></div>
@default <div></div>
**/
tpl:'<div style="float: left"></div>',
tpl:'<div></div>',
/**
@property inputclass
@default ''
@default 'editable-date'
**/
inputclass: '',
inputclass: 'editable-date',
/**
Format used for sending value to server. Also applied when converting date from <code>data-value</code> attribute.<br>
Full list of tokens: http://docs.jquery.com/UI/Datepicker/formatDate

View File

@@ -68,9 +68,9 @@ $(function(){
Textarea.defaults = $.extend({}, $.fn.editableform.types.abstract.defaults, {
/**
@property tpl
@default <textarea rows="8"></textarea>
@default <textarea></textarea>
**/
tpl:'<textarea rows="8"></textarea>',
tpl:'<textarea></textarea>',
/**
@property inputclass
@default span3