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

View File

@@ -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({

View File

@@ -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({

View File

@@ -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({

View File

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

View File

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