replace post.php with /post in src comments
This commit is contained in:
parent
a7bc385271
commit
ec1ff5d29d
src
containers
editable-form
element
inputs
@ -186,7 +186,7 @@ Applied as jQuery method.
|
|||||||
@example
|
@example
|
||||||
$('#edit').editableContainer({
|
$('#edit').editableContainer({
|
||||||
type: 'text',
|
type: 'text',
|
||||||
url: 'post.php',
|
url: '/post',
|
||||||
pk: 1,
|
pk: 1,
|
||||||
value: 'hello'
|
value: 'hello'
|
||||||
});
|
});
|
||||||
|
@ -242,7 +242,7 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
|
|||||||
var $form = $('<div>').editableform({
|
var $form = $('<div>').editableform({
|
||||||
type: 'text',
|
type: 'text',
|
||||||
name: 'username',
|
name: 'username',
|
||||||
url: 'post.php',
|
url: '/post',
|
||||||
value: 'vitaliy'
|
value: 'vitaliy'
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
|
|||||||
**/
|
**/
|
||||||
type: 'text',
|
type: 'text',
|
||||||
/**
|
/**
|
||||||
Url for submit, e.g. <code>post.php</code>
|
Url for submit, e.g. <code>'/post'</code>
|
||||||
If function - it will be called instead of ajax. Function can return deferred object to run fail/done callbacks.
|
If function - it will be called instead of ajax. Function can return deferred object to run fail/done callbacks.
|
||||||
|
|
||||||
@property url
|
@property url
|
||||||
|
@ -350,7 +350,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
|
|||||||
@example
|
@example
|
||||||
$('#username').editable({
|
$('#username').editable({
|
||||||
type: 'text',
|
type: 'text',
|
||||||
url: 'post.php',
|
url: '/post',
|
||||||
pk: 1
|
pk: 1
|
||||||
});
|
});
|
||||||
**/
|
**/
|
||||||
|
@ -6,7 +6,7 @@ For localization you can include js file from here: https://github.com/eternicod
|
|||||||
@class date
|
@class date
|
||||||
@extends abstract
|
@extends abstract
|
||||||
@example
|
@example
|
||||||
<a href="#" id="dob" data-type="date" data-pk="1" data-url="post.php" data-original-title="Select date">15/05/1984</a>
|
<a href="#" id="dob" data-type="date" data-pk="1" data-url="/post" data-original-title="Select date">15/05/1984</a>
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#dob').editable({
|
$('#dob').editable({
|
||||||
|
@ -6,7 +6,7 @@ Do not use it together with bootstrap-datepicker.
|
|||||||
@class dateui
|
@class dateui
|
||||||
@extends abstract
|
@extends abstract
|
||||||
@example
|
@example
|
||||||
<a href="#" id="dob" data-type="date" data-pk="1" data-url="post.php" data-original-title="Select date">15/05/1984</a>
|
<a href="#" id="dob" data-type="date" data-pk="1" data-url="/post" data-original-title="Select date">15/05/1984</a>
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#dob').editable({
|
$('#dob').editable({
|
||||||
|
@ -4,7 +4,7 @@ Select (dropdown) input
|
|||||||
@class select
|
@class select
|
||||||
@extends abstract
|
@extends abstract
|
||||||
@example
|
@example
|
||||||
<a href="#" id="status" data-type="select" data-pk="1" data-url="post.php" data-original-title="Select status"></a>
|
<a href="#" id="status" data-type="select" data-pk="1" data-url="/post" data-original-title="Select status"></a>
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#status').editable({
|
$('#status').editable({
|
||||||
|
@ -8,7 +8,7 @@ Text input
|
|||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#username').editable({
|
$('#username').editable({
|
||||||
url: 'post.php',
|
url: '/post',
|
||||||
title: 'Enter username'
|
title: 'Enter username'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -8,7 +8,7 @@ Textarea input
|
|||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#comments').editable({
|
$('#comments').editable({
|
||||||
url: 'post.php',
|
url: '/post',
|
||||||
title: 'Enter comments'
|
title: 'Enter comments'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user