From 67b05a140e5ec92bd1b5b61d2d32e1a92e074b0f Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Tue, 24 Apr 2012 08:39:51 -0500 Subject: [PATCH] fixed + after lists, thanks Niphlod --- VERSION | 2 +- gluon/sqlhtml.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 0d2d6928..397092be 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-04-24 08:37:24) dev +Version 1.99.7 (2012-04-24 08:39:47) dev diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 3b594a20..9c472188 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -239,7 +239,7 @@ class ListWidget(StringWidget): jQuery.fn.grow_input = function() { return this.each(function() { var ul = this; - jQuery(ul).find(":text").after('+').keypress(function (e) { return (e.which == 13) ? pe(ul) : true; }).next().click(function(){ pe(ul) }); }); }; function pe(ul) {