fix read textarea (always displayed)
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="step_margin">
|
<td class="step_margin">
|
||||||
<textarea id="step_text" name="step_text" class="round"></textarea>
|
<textarea id="step_text" name="step_text" class="round"></textarea>
|
||||||
<div id="step_text_read" class="read textarea round"></div>
|
<div id="step_text_read" class="read textarea round hide"></div>
|
||||||
</td>
|
</td>
|
||||||
<td class="image_box_container">
|
<td class="image_box_container">
|
||||||
<div id="step_images"></div>
|
<div id="step_images"></div>
|
||||||
@@ -544,8 +544,6 @@ function loadProcedure(iProcId, fOnSuccess)
|
|||||||
//TODO delete this silly function and rethink the whole thing
|
//TODO delete this silly function and rethink the whole thing
|
||||||
function addExtraReadElements(data)
|
function addExtraReadElements(data)
|
||||||
{
|
{
|
||||||
debug(data);
|
|
||||||
|
|
||||||
//Add extra read-mode data
|
//Add extra read-mode data
|
||||||
$ReadTitles = databap.getMainElem('#titles_read');
|
$ReadTitles = databap.getMainElem('#titles_read');
|
||||||
$ReadTitles.find('#title_read').text(data.title);
|
$ReadTitles.find('#title_read').text(data.title);
|
||||||
|
|||||||
Reference in New Issue
Block a user