fixed + after lists, thanks Niphlod
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.7 (2012-04-24 08:37:24) dev
|
Version 1.99.7 (2012-04-24 08:39:47) dev
|
||||||
|
|||||||
+1
-1
@@ -239,7 +239,7 @@ class ListWidget(StringWidget):
|
|||||||
jQuery.fn.grow_input = function() {
|
jQuery.fn.grow_input = function() {
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
var ul = this;
|
var ul = this;
|
||||||
jQuery(ul).find(":text").after('<a href="javascript:void(0)>+</a>').keypress(function (e) { return (e.which == 13) ? pe(ul) : true; }).next().click(function(){ pe(ul) });
|
jQuery(ul).find(":text").after('<a href="javascript:void(0)">+</a>').keypress(function (e) { return (e.which == 13) ? pe(ul) : true; }).next().click(function(){ pe(ul) });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
function pe(ul) {
|
function pe(ul) {
|
||||||
|
|||||||
Reference in New Issue
Block a user