Skip to content
Snippets Groups Projects
Commit ff4deed2 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Hide spinner on pattern fail. Bootstrap.

parent dec16898
Branches
Tags archive/issue/8581
No related merge requests found
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label" for="sms_to"><?=$this->transEsc('Number')?>:</label> <label class="control-label" for="sms_to"><?=$this->transEsc('Number')?>:</label>
<div class="controls"> <div class="controls">
<input id="sms_to" type="tel"<? if(isset($phone_pattern)): ?> pattern="<?=$phone_pattern ?>"<? endif ?> name="to" placeholder="<?=$this->transEsc('sms_phone_number')?>"/> <input id="sms_to" type="tel"<? if(isset($phone_pattern)): ?> pattern="<?=$phone_pattern ?>"<? endif ?> name="to" placeholder="<?=$this->transEsc('sms_phone_number')?>" oninvalid="$('#modal .icon-spinner').remove()"/>
</div> </div>
</div> </div>
<? if (is_array($this->carriers) && count($this->carriers) > 1): ?> <? if (is_array($this->carriers) && count($this->carriers) > 1): ?>
......
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