Revision 7970
Added by ben leinfelder almost 11 years ago
entryForm.js | ||
---|---|---|
9 | 9 |
function addParagraph() { |
10 | 10 |
var newParaWidget = document.createElement("textarea"); |
11 | 11 |
newParaWidget.setAttribute("rows", "6"); |
12 |
newParaWidget.className="longwidth";
|
|
12 |
newParaWidget.className="input-block-level";
|
|
13 | 13 |
newParaWidget.setAttribute("name", "methodPara"); |
14 | 14 |
|
15 | 15 |
var TR = document.createElement("tr"); |
... | ... | |
83 | 83 |
var textArea = document.createElement("textarea"); |
84 | 84 |
textArea.setAttribute("name", "methodPara"+index); |
85 | 85 |
textArea.setAttribute("rows", 6); |
86 |
textArea.className="longwidth";
|
|
86 |
textArea.className="input-block-level";
|
|
87 | 87 |
TD.appendChild(textArea); |
88 | 88 |
TR.appendChild(labelTD); |
89 | 89 |
TR.appendChild(TD); |
Also available in: Unified diff
missed a couple: use class="input-block-level" for large textarea inputs