Commit 5fae957f authored by Reto Da Forno's avatar Reto Da Forno
Browse files

edit text field length adjusted

parent 3d47e457
......@@ -42,7 +42,7 @@
if (editingTitle == 0) {
editingTitle = testid;
val = $("#title" + testid).text();
$("#title" + testid).html("<input type='text' style='overflow:visible' id='newtitle" + testid + "' value='" + val + "' />");
$("#title" + testid).html("<input type='text' size=9 id='newtitle" + testid + "' value='" + val + "' />");
}
}
......@@ -50,7 +50,7 @@
if (editingDesc == 0) {
editingDesc = testid;
val = $("#desc" + testid).text();
$("#desc" + testid).html("<input type='text' id='newdesc" + testid + "' value='" + val + "' />");
$("#desc" + testid).html("<input type='text' size=22 id='newdesc" + testid + "' value='" + val + "' />");
}
}
......
......@@ -151,7 +151,7 @@
clearTimeout(trackTestTimer);
clearTimeout(refreshPageTimer);
val = $("#title" + testid).text();
$("#title" + testid).html("<input type='text' style='overflow:visible' id='newtitle" + testid + "' value='" + val + "' />");
$("#title" + testid).html("<input type='text' size=9 id='newtitle" + testid + "' value='" + val + "' />");
}
}
......@@ -161,7 +161,7 @@
clearTimeout(trackTestTimer);
clearTimeout(refreshPageTimer);
val = $("#desc" + testid).text();
$("#desc" + testid).html("<input type='text' id='newdesc" + testid + "' value='" + val + "' />");
$("#desc" + testid).html("<input type='text' size=15 id='newdesc" + testid + "' value='" + val + "' />");
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment