Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
598a1dc
added support for configuring size and maxlength
bonkowski Oct 1, 2010
e5c2fbe
Set "cache" to false for loadurl $.ajax request. Fixes problem IE8 c…
spikex Oct 12, 2010
3506b02
Remove eval to allow compilation with Closure & Fix for newer jQuery
flavour Dec 18, 2016
bf8fe39
add proper readme and changelog files
NicolasCARPi Dec 18, 2017
60483eb
add package.json
NicolasCARPi Dec 18, 2017
7520861
Remove eval to allow compilation with Closure & Fix for newer jQuery
NicolasCARPi Dec 18, 2017
6d22032
remove textile stuff and move the demo code to the demo folder
NicolasCARPi Dec 18, 2017
ac7cf36
add custom_autocomplete to demos folder
NicolasCARPi Dec 18, 2017
f51e8ef
fix test css. fix #141
NicolasCARPi Dec 18, 2017
f9eb1ab
Merge branch 'master' of git://github.com/bonkowski/jquery_jeditable …
NicolasCARPi Dec 18, 2017
3207325
add PR template
NicolasCARPi Dec 18, 2017
1b738ac
Merge branch 'master' of git://github.com/spikex/jquery_jeditable int…
NicolasCARPi Dec 18, 2017
aba74c0
WiP merge the demo files. remove autocomplete and textile.
NicolasCARPi Dec 18, 2017
561491d
remove whitespaces
NicolasCARPi Dec 18, 2017
29c3c61
add note on readme about project status
NicolasCARPi Dec 18, 2017
9f7a7e4
fix changelog
NicolasCARPi Dec 18, 2017
e991d79
update changelog with 1.8.0
NicolasCARPi Dec 18, 2017
955062e
remove all old versions of jquery
NicolasCARPi Dec 18, 2017
42dfbcb
cleanup some more
NicolasCARPi Dec 18, 2017
df194b4
update maskedinput
NicolasCARPi Dec 18, 2017
5798817
fix issue with width/height. fix #137
NicolasCARPi Dec 18, 2017
eb742ca
remove async: false
NicolasCARPi Dec 18, 2017
2b9ea4c
changelog
NicolasCARPi Dec 18, 2017
538949a
add back the async:false for now, will see later about callback
NicolasCARPi Dec 18, 2017
e62501a
decrease save time
NicolasCARPi Dec 18, 2017
a94777d
remove eval, fix selected select
NicolasCARPi Dec 18, 2017
38b1475
changelog
NicolasCARPi Dec 18, 2017
d778600
add type='text' to input. fix #49
NicolasCARPi Dec 18, 2017
f749694
remove unused files
NicolasCARPi Dec 18, 2017
c42aca6
add demo to readme
NicolasCARPi Dec 18, 2017
6413955
not yet released
NicolasCARPi Dec 18, 2017
f9a2e22
use src and dist, use grunt for minify
NicolasCARPi Dec 19, 2017
8a5514a
some css changes to the demo page
NicolasCARPi Dec 19, 2017
32dc835
remove timepicker because it doesn't work and upstream is dead
NicolasCARPi Dec 19, 2017
97a1686
Add label settings. by @tomasm- (#40)
NicolasCARPi Dec 19, 2017
a4be137
changelog
NicolasCARPi Dec 19, 2017
053cf03
update readme
NicolasCARPi Dec 19, 2017
4fcb036
remove extra loop. by @dgm (#45)
NicolasCARPi Dec 19, 2017
f431d79
add checkbox type
NicolasCARPi Dec 19, 2017
4b4b3a5
add checkbox type. by @oneslash and @pushpinderbagga. (#52)
NicolasCARPi Dec 19, 2017
69d581e
use .text() instead of .html(). Fix #110
NicolasCARPi Feb 6, 2018
031e5a8
add before option. Fix #113. Thanks to @bp323 for contribution!
NicolasCARPi Feb 6, 2018
2f91217
add LICENSE file, update changelog
NicolasCARPi Feb 6, 2018
e447009
add Dockerfile
NicolasCARPi Feb 6, 2018
f8fb61b
prepare for testing
NicolasCARPi Feb 6, 2018
5cc6f2d
1.8.1
NicolasCARPi Feb 6, 2018
39491dc
remove ajaxupload and change the demo page a bit
NicolasCARPi Feb 12, 2018
88c0407
update maskedinput url
NicolasCARPi Feb 12, 2018
b65408a
http -> https
NicolasCARPi Feb 12, 2018
3712dac
add live demo link
NicolasCARPi Feb 12, 2018
166c9c9
add showfn for jquery animations before displaying form. fix #46
NicolasCARPi Feb 13, 2018
6f57c6c
adjust the width of the element to account for border/margin/paddding
NicolasCARPi Feb 13, 2018
039eb7c
add submitdata to callback. fix #64. contribution by @mikemeier
NicolasCARPi Feb 13, 2018
024f389
much better demo page showing the source code
NicolasCARPi Feb 13, 2018
62b4fc3
add cursor:pointer for trigger
NicolasCARPi Feb 13, 2018
0dfa350
correctly check if checkbox is checked
NicolasCARPi Feb 13, 2018
f46f9f5
remove commented code
NicolasCARPi Feb 13, 2018
aeaf131
proper jsdoc comments
NicolasCARPi Feb 13, 2018
1045d3f
more doc changes
NicolasCARPi Feb 13, 2018
6423ffa
create a datepicker plugin that actually works based on jquery-ui's
NicolasCARPi Feb 13, 2018
a14915d
datepicker is getting there…
NicolasCARPi Feb 13, 2018
eba4a30
better demo page. fix format issue on datepicker
NicolasCARPi Feb 14, 2018
17c1a63
Pass the source event to the 'onedit' hook. by @gfouquet. #104
NicolasCARPi Feb 14, 2018
b4465f0
add usage to readme
NicolasCARPi Feb 14, 2018
d6aa76f
readme
NicolasCARPi Feb 14, 2018
6b0cb10
add eyes on show/hide source buttons
NicolasCARPi Feb 14, 2018
a0be97b
Add intercept option useful for preprocessing data. by @randell. fix #66
NicolasCARPi Feb 14, 2018
a077951
add option to style buttons and add id to form. by @quocvu fix #71
NicolasCARPi Feb 14, 2018
74f3440
add maxlength to textarea too. by @estebistec. fix #68
NicolasCARPi Feb 14, 2018
c50cbe2
remove maxlength from textarea
NicolasCARPi Feb 14, 2018
b44fe10
Stop event propagation for charcounter. by @twashing. fix #86
NicolasCARPi Feb 14, 2018
4fad75f
add onedit example + doc. by @chriskeeble. fix #122
NicolasCARPi Feb 14, 2018
d71be75
if submitdata is a function return submitdata. by @mkdgs. fix #109
NicolasCARPi Feb 15, 2018
210b1f5
add ignore to onblur doc
NicolasCARPi Feb 15, 2018
8c4b32d
better destroy. contrib by @Scottmitch. fix #125
NicolasCARPi Feb 15, 2018
2de0f02
allow onblur function to cancel form if returns false. fix #14
NicolasCARPi Feb 15, 2018
af7e5ac
reminify
NicolasCARPi Feb 15, 2018
92454dd
fix some issues reported by codacy
NicolasCARPi Feb 15, 2018
5f6b3c0
use double quotes
NicolasCARPi Feb 15, 2018
43c935f
add demo gif
NicolasCARPi Feb 15, 2018
dfd61a5
cleanup more files
NicolasCARPi Feb 15, 2018
c259526
add documentation link to demo page
NicolasCARPi Feb 15, 2018
e6023d9
add form param to onblur apply. fix #37
NicolasCARPi Feb 15, 2018
f757806
typo
NicolasCARPi Feb 15, 2018
684820c
add api to docker image
NicolasCARPi Feb 15, 2018
4e76c4b
add link to api doc
NicolasCARPi Feb 15, 2018
47ffc70
next version will be 1.9.0. remove it from src, too
NicolasCARPi Feb 15, 2018
fbbef16
changelog
NicolasCARPi Feb 15, 2018
d1601f9
properly escape indicator in source code on demo
NicolasCARPi Feb 15, 2018
21b6e4d
fix indicator in demo
NicolasCARPi Feb 15, 2018
0062e8a
add issue template and remove old file in dist
NicolasCARPi Feb 15, 2018
e20bd71
return element to target function. fix #67
NicolasCARPi Feb 15, 2018
36c2566
documentation
NicolasCARPi Feb 15, 2018
870088c
select options are now sorted by value. by @jjwdesign. fix #97
NicolasCARPi Feb 15, 2018
e9bcea8
typo
NicolasCARPi Feb 15, 2018
876bc06
readme
NicolasCARPi Feb 15, 2018
4a5ab78
add default tooltip
NicolasCARPi Feb 15, 2018
16a59ad
use svg spinner so we get transparency
NicolasCARPi Feb 19, 2018
460495a
remove the weird css color
NicolasCARPi Feb 19, 2018
eb71bf1
add html5 text, email, number, url. by @nfreear fix #87
NicolasCARPi Feb 20, 2018
40f24c1
quotes and ===
NicolasCARPi Feb 20, 2018
923415f
add multi-select support. by @nicholasryan. fix #75
NicolasCARPi Feb 20, 2018
9bbf74c
pass a response callback function to custom target functions. by @bsh…
NicolasCARPi Feb 20, 2018
358a5bf
add description text to examples
NicolasCARPi Feb 20, 2018
e2fdb88
change the textarea plugin
NicolasCARPi Feb 20, 2018
3abf13a
add robots.txt
NicolasCARPi Feb 20, 2018
aa7a0b0
fix loadtext issue. fix #15
NicolasCARPi Feb 20, 2018
c404dc2
next version will be 2.0.0
NicolasCARPi Feb 20, 2018
d69cb47
regenerate dist and add depedencies in package.json
NicolasCARPi Feb 20, 2018
2097ce6
new demo gif
NicolasCARPi Feb 20, 2018
41ad247
cosmetic changes
NicolasCARPi Feb 20, 2018
2b893d0
too many =
NicolasCARPi Feb 20, 2018
92b9e2d
reduce codacy warnings
NicolasCARPi Feb 20, 2018
c072865
single quotes
NicolasCARPi Feb 20, 2018
856e89a
use strict
NicolasCARPi Feb 20, 2018
a8f8d1d
add ga
NicolasCARPi Feb 20, 2018
f8c5ee3
grunt
NicolasCARPi Feb 20, 2018
1a2e14a
add qunit to package.json
NicolasCARPi Feb 20, 2018
1fbc571
write first real test
NicolasCARPi Feb 20, 2018
b72fad5
add badge
NicolasCARPi Feb 20, 2018
c1d990f
add code for url email numbers
NicolasCARPi Feb 20, 2018
80809dc
add more tests
NicolasCARPi Feb 20, 2018
3bf0978
add disable/enable/destroy test
NicolasCARPi Feb 20, 2018
2b49ef7
remove yarn.lock
NicolasCARPi Feb 23, 2018
1e14fcc
add badges to readme
NicolasCARPi Feb 24, 2018
671f4ca
add width setting to number, url, email. fix #163
NicolasCARPi Mar 2, 2018
2b0872f
2.0.1
NicolasCARPi Mar 5, 2018
1db656c
Fixed a bug where selected value will get added to the select list, (…
eman1986 Mar 28, 2018
af66fe0
fix demo for selected option. see #166
NicolasCARPi Mar 28, 2018
bf361db
minify the src
NicolasCARPi Mar 28, 2018
ddf1fcc
version and changelog
NicolasCARPi Mar 28, 2018
01646df
add ability to apply css class to input element (#173)
thezoggy Apr 28, 2018
92f9fbb
describe arguments for callback function
NicolasCARPi May 13, 2018
d3feb57
2.0.3
NicolasCARPi May 14, 2018
1b9f899
changelog
NicolasCARPi May 14, 2018
accdf9a
mention cdnjs in readme
NicolasCARPi May 22, 2018
3e4d6fa
Add sort-option, fix key for selected, and fix double submit (#178)
nathanvda Jun 20, 2018
4e4deaf
make sortselectoptions in lower case and remove console warning
NicolasCARPi Jun 20, 2018
9dea0b3
fix the tests
NicolasCARPi Jun 20, 2018
b0d3c38
2.0.4
NicolasCARPi Jun 20, 2018
c2e1641
minified version was not current
NicolasCARPi Jun 20, 2018
09d422f
Corrected existing code to cancel editing on ESC key. Also updated ot…
thezoggy Jun 27, 2018
593d300
Merge branch 'thezoggy-master-cancel_on_esc'
NicolasCARPi Jun 27, 2018
34f686d
2.0.6
NicolasCARPi Jun 27, 2018
48b3eb4
fix main in package.json. fix #181
NicolasCARPi Jul 23, 2018
b59f1c2
changelog
NicolasCARPi Jul 23, 2018
5a87bbb
add jquery version to issue template
NicolasCARPi Sep 29, 2018
94c2880
upgrade js dependencies
NicolasCARPi Oct 9, 2018
a4fe8a1
update devDep "merge" to v1.2.1 min to fix CVE-2018-1646
NicolasCARPi Nov 1, 2018
10e90d1
Pass event to before callback (#188)
Uplink03 Dec 9, 2018
0532f63
Corrected the options to set width/height with masked inputs (#189)
mendizalea Dec 26, 2018
b677a59
fix tabbing and whitespaces
NicolasCARPi Dec 26, 2018
117f1fd
changelog
NicolasCARPi Dec 26, 2018
5862ff8
minify
NicolasCARPi Dec 26, 2018
19203b2
Change isSubmitting back to false onComplete. Fix #192
NicolasCARPi Feb 3, 2019
6319467
changelog
NicolasCARPi Mar 10, 2019
5b42e5a
add codepen template to issue template
NicolasCARPi Apr 24, 2019
2ae20da
upgrade dependencies to fix security vulnerabilities
NicolasCARPi May 2, 2019
e556cc4
changelog for 2.0.8
NicolasCARPi May 2, 2019
02d0345
update jquery version in README
NicolasCARPi May 2, 2019
132425f
Set isSubmitting false when submit cancelled (#201)
RobdeT Jun 5, 2019
f868ef5
2.0.9 changelog
NicolasCARPi Jun 5, 2019
09d3461
regenerate minified files
NicolasCARPi Jun 5, 2019
ab20249
2.0.10
NicolasCARPi Jun 5, 2019
dd4e901
add missing ;
NicolasCARPi Jun 10, 2019
0720103
update package-lock. fix vuln in lodash.
NicolasCARPi Jul 11, 2019
4782a46
Use text() instead of html() for revert. Fix #203
NicolasCARPi Jul 17, 2019
347a9e6
2.0.11
NicolasCARPi Aug 4, 2019
0f1a004
changelog
NicolasCARPi Aug 4, 2019
4abb046
Wrap plugins in functions for no-conflict. Fix #205
francesco-pesenti Aug 5, 2019
7718b34
regenerate dist files
NicolasCARPi Aug 5, 2019
8accf58
changelog
NicolasCARPi Aug 5, 2019
1b633eb
Accept list of tuples as items of select (#209)
michal-juranyi Aug 27, 2019
bb47dca
changelog, bump version and minify
NicolasCARPi Aug 27, 2019
d159b35
Don't use deprecated functions. See #211
NicolasCARPi Dec 3, 2019
89923ee
change deprecated functions to the modern version. Fix #211
NicolasCARPi Dec 3, 2019
6db4bee
changelog
NicolasCARPi Dec 5, 2019
71c5ae8
Add intercept option documentation
NicolasCARPi Feb 4, 2020
f26bdd6
use php7.3 and Node v12. Add documentation pkg in devDependencies
NicolasCARPi Feb 4, 2020
549ce19
replace deprecated .blur(). See #211
NicolasCARPi Feb 18, 2020
c869fa1
Update to enable shift+enter to submit form (#216)
JamoCA Feb 20, 2020
24612ce
Get text instead of html for callback result (#214)
JavierPDev Feb 20, 2020
442db98
upgrade dependencies
NicolasCARPi Apr 6, 2020
3d0d161
upgrade jquery to 3.5.0 because of vuln in previous versions
NicolasCARPi May 2, 2020
ca1b997
2.0.17
NicolasCARPi May 2, 2020
6a6ad7d
changelog update. fix #218
NicolasCARPi May 17, 2020
8dee18e
get rid of tabs
NicolasCARPi Jun 23, 2020
25aca73
add FUNDING.yml
NicolasCARPi Jun 23, 2020
cd15237
upgrade dependencies
NicolasCARPi Dec 20, 2020
5128559
changelog fix. fix #226
NicolasCARPi Jan 10, 2021
f173af8
fix typos
NicolasCARPi Mar 27, 2021
6ebe1ad
update php and node in Dockerfile
NicolasCARPi Mar 27, 2021
6baa832
npm upgrade
NicolasCARPi Mar 27, 2021
377aa8e
add EXPOSE in Dockerfile
NicolasCARPi Mar 27, 2021
84d6f53
Fix warnings from jquery-migrate-3.3.2.js when updating to jQuery 3.6…
warmsocks Apr 15, 2021
ff38577
npm upgrade and changelog for 2.0.19
NicolasCARPi Apr 15, 2021
0194655
Improve security of docker image (#232)
NicolasCARPi May 28, 2021
5889779
npm upgrade
NicolasCARPi Jun 14, 2021
8b038e0
upgrade devDependencies
NicolasCARPi Sep 17, 2021
8de5240
add custom class to select demo
NicolasCARPi Oct 18, 2021
cd03261
npm upgrade
NicolasCARPi Oct 18, 2021
6cb9012
Update README.md (#240)
iedutu Oct 18, 2021
5dc95a5
add tooltip again only if there is a setting for it
NicolasCARPi Nov 29, 2021
22fdea3
npm upgrade
NicolasCARPi Nov 29, 2021
989df1d
changelog
NicolasCARPi Nov 29, 2021
cfb34cf
npm upgrade
NicolasCARPi Dec 18, 2021
dd82f86
add deprecation notice
NicolasCARPi Mar 8, 2022
bf4d680
add malle link
NicolasCARPi Mar 8, 2022
905e4ba
npm upgrade
NicolasCARPi Mar 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.git
.gitignore
node_modules
README.md
CHANGELOG.md
CONTRIBUTING.md
LICENSE
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Description

## How to reproduce

It helps a lot if you can create a working example from this template:
https://codepen.io/pen?template=pBxBXm

## Expected result

## Actual result

# Environment

jQuery version:
Browser:
OS:
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please make sure to target the "experimental" branch!
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
api
181 changes: 181 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
# Changelog

## 2.0.21

* Fix tooltip getting overwritten (#241)
* Update dev dependencies

## 2.0.20

* Update dev dependencies

## 2.0.19

* Fix warnings from jquery-migrate (#230) by Shaun Case
* Upgrade dependencies

## 2.0.18

* Upgrade dependencies
* Formatting fix (remove tabs)
* Add FUNDING.yml
* Fix changelog (#218)

## 2.0.17

* Upgrade jquery to 3.5.0 because of vulnerability in previous versions

## 2.0.16

* Get text instead of html in callback result (#214)
* Enable shift+enter to submit form (#216)

## 2.0.15

* Remove deprecated .blur() calls and replace them with .on() (#211)

## 2.0.14

* Remove deprecated jQuery functions and replace them by modern counterparts (#211)

## 2.0.13

* Accept list of tuples as items for select element (#208 by @emjayko)

## 2.0.12

* Wrap the plugins in functions for non-conflict mode (#205)

## 2.0.11

* Use text() instead of html() for revert (#203)

## 2.0.10

* Regenerate the minified files

## 2.0.9

* Allow resubmiting if onsubmit or submit returns false (#201 by @RobdeT)

## 2.0.8

* Update dependencies to fix security vulnerabilities (CVE-2019-11358, and in js-yaml)

## 2.0.7

* Change isSubmitting back to false onComplete (#192)
* Width/height now correctly taken into account for masked inputs (#189)
* Pass event object to the before callback (#188)

## 2.0.6

* Fix cancel when ESC is pressed (#177) by @thezoggy
* Fix "main" entry of package.json (#181)

## 2.0.5

* Sorting of select items is now an option (default is not sorted). by @nathanvda (#178)

## 2.0.3

* Add ability to apply css to input element (#173)

## 2.0.2

* Fix a bug where selected value will get added to the select options. by @eman1986 (#166)

## 2.0.1

* Fix width setting to number, url and email (#163)

## 2.0.0

* BREAKING: remove ajaxupload and old datepicker plugins (new datepicker added)
* BREAKING: change the autogrow plugin for another one
* Add datepicker plugin for jQuery-UI's datepicker
* Add form param to onblur apply (#37)
* Allow onblur function to cancel form if it returns false (#14)
* Properly cleanup after destroy. by @Scottmitch (#125)
* Return submitdata if it's a function. by @mkdgs (#109)
* Add onedit example + doc. by @chriskeeble (#122)
* Stop event propagation for charcounter. by @twashing (#86)
* Add multiselect support. by @nicholasryan (#75)
* Add html5 text attributes, email, number and url types. by @nfreear (#87)
* Add maxlength to textarea too. by @estebistec (#68)
* Add option to style buttons and add id to form. by @quocvu (#71)
* Add intercept option useful for preprocessing data. by @randell (#66)
* Pass the source event to the onedit hook. by @gfouquet (#104)
* Return element to target function (#67)
* Add 'before' option. by @bp323 (#113)
* Fix issue with html encodable characters (#110)
* Add checkbox type. by @oneslash and @pushpinderbagga (#52)
* Correctly check if checkbox is checked
* Select options are now sorted by value. by @jjwdesign (#97)
* Add submitdata to callback. by @mikemeier (#64)
* Adjust the width of the element to account for border/margin/padding
* Fix loadtext not showing (#15)
* Pass a response callback function to custom target function. by bshelton229. (#65)
* Add showfn for jquery animations before displaying form (#46)
* Remove extra loop. by @dgm (#45)
* Better demo page showing more example
* Add proper API documentation
* Add usage documentation in README.md
* Add Dockerfile to serve the demos
* Add LICENSE file

## 1.8.0

* A lot of cleanup in the repo after years of abandon
* The demos folder now contains a page (index.html) with all the demo code
* Removed Textile stuff
* Removed SQLite from the demo
* Add support for configuring size and maxlength. by @bonkowski (#32)
* Set "cache" to false on loadurl. Fix issue with IE8. by @spikex (#33)
* Add package.json for npm hosting
* Remove eval to allow compilation with Closure & Fix for newer jQuery. by @flavour (#158)
* Fix issue with width/height (#137)
* Fix issue with selected in select element (#106)
* Add label settings. by @tomasm- (#40)

## 1.7.3

* Add support for "jQuery plugin repository": http://plugins.jquery.com/

## 1.7.2

* Submit on change if input type select and no submit button defined ("gregpyp":http://github.com/gregpyp)

## 1.7.1

* Namespace default event as click.editable ("Zangetsu":http://github.com/Zangetsu)
* Trim whitespace when determining the selected value of pulldown ("binarylogic":http://github.com/binarylogic)
* Make default settings publicly available ("lawrencepit":http://github.com/lawrencepit)
* Allow ajax calls other than 'html', e.g. json and script calls. ("lawrencepit":http://github.com/lawrencepit)
* Do not follow links if they are editable ("Darwin":http://github.com/darwin)
* make JSLInt happy ("olleolleolle":http://github.com/olleolleolle)

## 1.7.0

* Full control over jQuery AJAX options for those who want to tinker.
* Fix problem with IE and placeholder with HTML tags.
* Add $.editable('disable'), $.editable('enable') and $.editable('destroy')
* Add onedit, onsubmit, onreset and onerror hooks.
* Allow passing select options as JavaScript object.
* Fix IE throwing error with textareas when width or height was set to 'none'.

## 1.6.2

* Fix problems when xhtml is served application/xhtml+xml.

## 1.6.1

* Submit method can now be POST (default) or PUT.
* Fix form being submitted twice in some cases.

## 1.6.0

* Onblur parameter can now be a function.
* Support for any arbitrary event for triggering Jeditable
* Submitting of form will be canceled if submit() method of custom input returns false.
* Custom inputs now have access to reset() method.
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Notes to contributors

* Target the 'experimental' branch
* Use 4 spaces for indent
* Use UNIX-style line ending
* Use UTF-8 without BOM
* Use a javascript linter
* Use single quotes for strings

# Generate the API doc

~~~bash
npm -g install documentation
documentation build src -f html -o api
~~~
35 changes: 35 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# serve the demo page of jquery-jeditable
# https://github.com/NicolasCARPi/jquery_jeditable

# use apache + php
FROM php:8.0-apache

# select version or branch here
ENV JEDITABLE_VERSION master

LABEL org.label-schema.name="jquery-jeditable demo" \
org.label-schema.description="Run Apache and php to serve jquery-jeditable demo page" \
org.label-schema.url="https://jeditable.elabftw.net" \
org.label-schema.vcs-url="https://github.com/NicolasCARPi/jquery_jeditable" \
org.label-schema.version=$JEDITABLE_VERSION\
org.label-schema.maintainer="nicolas.carpi@curie.fr" \
org.label-schema.schema-version="1.0"

# install npm
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y --no-install-recommends install gnupg \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g documentation \
&& rm -rf /var/lib/apt/lists/* \
&& a2enmod headers

COPY . /var/www/html
RUN ln -s /var/www/html/src /var/www/html/demos/src
COPY ./apache/000-default.conf /etc/apache2/sites-enabled/000-default.conf
COPY ./apache/php.ini /usr/local/etc/php/php.ini

# generate api doc
WORKDIR /var/www/html
RUN documentation build src -f html -o demos/api
EXPOSE 80
3 changes: 3 additions & 0 deletions FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms
liberapay: NicolasCARPi
github: NicolasCARPi
32 changes: 32 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* Gruntfile.js
*
* Run 'grunt' in shell to minify javascript
*
*/
module.exports = function(grunt) {

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= pkg.homepage %> */\n',
mangle: false
},
dist: {
files: {
'dist/jquery.jeditable.min.js': 'src/jquery.jeditable.js',
'dist/jquery.jeditable.autogrow.min.js': 'src/jquery.jeditable.autogrow.js',
'dist/jquery.jeditable.charcounter.min.js': 'src/jquery.jeditable.charcounter.js',
'dist/jquery.jeditable.datepicker.min.js': 'src/jquery.jeditable.datepicker.js',
'dist/jquery.jeditable.masked.min.js': 'src/jquery.jeditable.masked.js',
'dist/jquery.jeditable.time.min.js': 'src/jquery.jeditable.time.js',
}
}
}
});

grunt.loadNpmTasks('grunt-contrib-uglify-es');
grunt.registerTask('default', 'uglify');

};
7 changes: 7 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2006 Mika Tuupola, Dylan Verheul, Nicolas CARPi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
47 changes: 0 additions & 47 deletions Makefile

This file was deleted.

Loading