From d469cc6701070ca88831e1055d43fb589e205b58 Mon Sep 17 00:00:00 2001 From: David Haslem Date: Fri, 28 Sep 2012 10:27:34 -0400 Subject: [PATCH 1/2] Fix nasty bug where nothing after last mention worked --- .gitignore | 1 + jquery.mentionsInput.js | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/jquery.mentionsInput.js b/jquery.mentionsInput.js index ae7e385..24205a9 100644 --- a/jquery.mentionsInput.js +++ b/jquery.mentionsInput.js @@ -181,6 +181,8 @@ remaining = parts.join(mention.value); }); + syntaxMessage += remaining; + var mentionText = utils.htmlEncode(syntaxMessage); _.each(orderedMentionsCollection, function (mention) { From 875fb9928134bf63c390768e9b9d95b111abda58 Mon Sep 17 00:00:00 2001 From: Wayne Date: Sun, 9 Dec 2012 19:19:12 -0600 Subject: [PATCH 2/2] use the excellent expandingTextareas plugin over the dated elastic --- .gitmodules | 3 + docs/index.html | 8 +- jquery.mentionsInput.js | 6 +- lib/ExpandingTextareas | 1 + lib/jquery.elastic.js | 162 ---------------------------------------- 5 files changed, 8 insertions(+), 172 deletions(-) create mode 100644 .gitmodules create mode 160000 lib/ExpandingTextareas delete mode 100644 lib/jquery.elastic.js diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5c73b19 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/ExpandingTextareas"] + path = lib/ExpandingTextareas + url = https://github.com/bgrins/ExpandingTextareas diff --git a/docs/index.html b/docs/index.html index 1c189ef..44850ed 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,8 +8,8 @@ - - + + @@ -246,14 +246,12 @@

Change Log

- + - -