move dateui to folder, add jquery-ui-datepicker

This commit is contained in:
vitalets
2012-11-14 22:44:18 +04:00
parent 8a64d3fb28
commit 00a451278a
44 changed files with 3691 additions and 9517 deletions

View File

@@ -1,10 +1,6 @@
/**
/*
Editableform based on Twitter Bootstrap
@class editableform (bootstrap)
@module editableform
@uses editableform
**/
*/
(function ($) {
//form template

View File

@@ -1,10 +1,6 @@
/**
/*
Editableform based on jQuery UI
@class editableform (jqueryui)
@module editableform
@uses editableform
**/
*/
(function ($) {
$.extend($.fn.editableform.Constructor.prototype, {

View File

@@ -1,5 +1,5 @@
/**
* EditableForm utils
* EditableForm utilites
*/
(function ($) {
$.extend($.fn.editableform, {

View File

@@ -4,6 +4,8 @@ Applied as jQuery method to DIV tag (not to form tag!)
Editableform is linked with one of input types, e.g. 'text' or 'select'.
@class editableform
@uses text
@uses textarea
**/
(function ($) {
@@ -39,7 +41,7 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
@method render
**/
render: function() {
this.$loading = $(this.options.loading);
this.$loading = $($.fn.editableform.loading);
this.$container.empty().append(this.$loading);
this.showLoading();
@@ -258,7 +260,7 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
/* see also defaults for input */
/**
Type of input. Can be text|textarea|select|date
Type of input. Can be <code>text|textarea|select|date</code>
@property type
@type String
@@ -316,14 +318,6 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
**/
send: 'auto',
/**
Template for loading element
@property loading
@type String
@default <div class="editableform-loading"></div>
**/
loading: '<div class="editableform-loading"></div>',
/**
Function for client-side validation. If returns string - means validation not passed and string showed as error.
@property validate
@@ -348,14 +342,18 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
'<div class="editable-error-block"></div>' +
'</form>';
//loading div
$.fn.editableform.loading = '<div class="editableform-loading"></div>';
//error class attahced to control-group
$.fn.editableform.errorGroupClass = null;
$.fn.editableform.errorGroupClass = null;
//error class attahced to editable-error-block
$.fn.editableform.errorBlockClass = 'editable-error';
//input types
$.fn.editableform.types = {};
$.fn.editableform.utils = {};
// $.fn.editableform.types = {};
//$.fn.editableform.utils = {};
}(window.jQuery));