errors finally fully working in display.
This commit is contained in:
parent
2988b61bf5
commit
0de162aa26
|
@ -3,12 +3,12 @@
|
||||||
<dd id="spl_cue_in_<?php echo $this->pos; ?>" class="spl_cue_in">
|
<dd id="spl_cue_in_<?php echo $this->pos; ?>" class="spl_cue_in">
|
||||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueIn; ?></span>
|
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueIn; ?></span>
|
||||||
</dd>
|
</dd>
|
||||||
<dd class="edit-error"><span></span></dd>
|
<dd class="edit-error"></dd>
|
||||||
<dt>Cue Out:</dt>
|
<dt>Cue Out:</dt>
|
||||||
<dd id="spl_cue_out_<?php echo $this->pos; ?>" class="spl_cue_out">
|
<dd id="spl_cue_out_<?php echo $this->pos; ?>" class="spl_cue_out">
|
||||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueOut; ?></span>
|
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueOut; ?></span>
|
||||||
</dd>
|
</dd>
|
||||||
<dd class="edit-error"><span></span></dd>
|
<dd class="edit-error"></dd>
|
||||||
<dt>Original Length:</dt>
|
<dt>Original Length:</dt>
|
||||||
<dd id="spl_original"><span><?php echo $this->origLength; ?></span></dd>
|
<dd id="spl_original"><span><?php echo $this->origLength; ?></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
<dd id="spl_fade_out_<?php echo $this->pos; ?>" class="spl_fade_out">
|
<dd id="spl_fade_out_<?php echo $this->pos; ?>" class="spl_fade_out">
|
||||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeOut; ?></span>
|
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeOut; ?></span>
|
||||||
</dd>
|
</dd>
|
||||||
<dd class="edit-error"><span></span></dd>
|
<dd class="edit-error"></dd>
|
||||||
<dt>Fade in:</dt>
|
<dt>Fade in:</dt>
|
||||||
<dd id="spl_fade_in_<?php echo $this->pos + 1; ?>" class="spl_fade_in">
|
<dd id="spl_fade_in_<?php echo $this->pos + 1; ?>" class="spl_fade_in">
|
||||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeIn; ?></span>
|
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeIn; ?></span>
|
||||||
</dd>
|
</dd>
|
||||||
<dd class="edit-error"><span></span></dd>
|
<dd class="edit-error"></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
|
@ -25,10 +25,8 @@ function changeClipLength(pos, json) {
|
||||||
|
|
||||||
function showError(el, error) {
|
function showError(el, error) {
|
||||||
$(el).parent().next()
|
$(el).parent().next()
|
||||||
.find("span")
|
.empty()
|
||||||
.empty()
|
.append(error)
|
||||||
.append(error)
|
|
||||||
.end()
|
|
||||||
.show();
|
.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue