replace post.php with /post in src comments

This commit is contained in:
vitalets 2012-11-21 17:30:27 +04:00
parent a7bc385271
commit ec1ff5d29d
8 changed files with 9 additions and 9 deletions

@ -186,7 +186,7 @@ Applied as jQuery method.
@example
$('#edit').editableContainer({
type: 'text',
url: 'post.php',
url: '/post',
pk: 1,
value: 'hello'
});

@ -242,7 +242,7 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
var $form = $('<div>').editableform({
type: 'text',
name: 'username',
url: 'post.php',
url: '/post',
value: 'vitaliy'
});
@ -281,7 +281,7 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
**/
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.
@property url

@ -350,7 +350,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
@example
$('#username').editable({
type: 'text',
url: 'post.php',
url: '/post',
pk: 1
});
**/

@ -6,7 +6,7 @@ For localization you can include js file from here: https://github.com/eternicod
@class date
@extends abstract
@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>
$(function(){
$('#dob').editable({

@ -6,7 +6,7 @@ Do not use it together with bootstrap-datepicker.
@class dateui
@extends abstract
@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>
$(function(){
$('#dob').editable({

@ -4,7 +4,7 @@ Select (dropdown) input
@class select
@extends abstract
@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>
$(function(){
$('#status').editable({

@ -8,7 +8,7 @@ Text input
<script>
$(function(){
$('#username').editable({
url: 'post.php',
url: '/post',
title: 'Enter username'
});
});

@ -8,7 +8,7 @@ Textarea input
<script>
$(function(){
$('#comments').editable({
url: 'post.php',
url: '/post',
title: 'Enter comments'
});
});