diff --git a/plugins/tasklist/jquery.tagedit.js b/plugins/tasklist/jquery.tagedit.js
index 639edb83..0b3ab766 100644
--- a/plugins/tasklist/jquery.tagedit.js
+++ b/plugins/tasklist/jquery.tagedit.js
@@ -136,7 +136,8 @@
html += '
';
html += '' + $(this).val() + '';
html += '';
- html += 'x';
+ if (options.allowDelete)
+ html += 'x';
html += '';
}
}
@@ -158,7 +159,8 @@
// put an input field at the End
// Put an empty element at the end
html = '';
- html += '';
+ if (options.allowAdd)
+ html += '';
html += '';
html += '';
diff --git a/plugins/tasklist/skins/larry/tagedit.css b/plugins/tasklist/skins/larry/tagedit.css
index 0ce32221..a26b5ab0 100644
--- a/plugins/tasklist/skins/larry/tagedit.css
+++ b/plugins/tasklist/skins/larry/tagedit.css
@@ -49,7 +49,7 @@
/* Item that is put to the List */
.tagedit span.tag-element,
.tagedit-list li.tagedit-listelement-old {
- padding: 3px 0 1px 6px;
+ padding: 3px 6px 1px 6px;
background: #ddeef5;
background: -moz-linear-gradient(top, #edf6fa 0%, #d6e9f3 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#edf6fa), color-stop(100%,#d6e9f3));
@@ -85,11 +85,16 @@
top: -1px;
width: 16px;
height: 16px;
- margin: 0 2px 0 6px;
+ margin: 0 -4px 0 6px;
background: url('data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAAAgUlEQVQoz2NgQAKzdxwWAOIEIG5AwiC+AAM2AJQIAOL3QPwfCwaJB6BrSMChGB0nwDQYwATP3nn4f+Ge4ygKQXyQOJKYAUjTepjAm09fwBimEUTDxJA0rWdANxWmaMXB0xiGwDADurthGkEAmwbqaCLFeWQFBOlBTlbkkp2MSE2wAA8R50rWvqeRAAAAAElFTkSuQmCC') left 1px no-repeat;
cursor: pointer;
}
+.tagedit-list li.tagedit-listelement-old span {
+ display: inline-block;
+ height: 15px;
+}
+
/** Special hacks for IE7 **/
html.ie7 .tagedit span.tag-element,