incorrect form submission bug fixed
This commit is contained in:
parent
4d606f6d14
commit
76299e6b1f
|
@ -664,7 +664,7 @@
|
|||
<label class="control-label" for="newDownload_url">Enter url for the Download:</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xlarge" id="newDownload_url" placeholder="http://example.com"/>
|
||||
<button class="btn" id="multiple_uris"><i class="icon-plus-sign"></i></button>
|
||||
<button class="btn" href="#" id="multiple_uris"><i class="icon-plus-sign"></i></button>
|
||||
<span class="help-block">URI can be HTTP(S)/FTP/BitTorrent Magnet URI</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -268,6 +268,7 @@ $(function() {
|
|||
$('#newDownload_url').replaceWith('<input type="text" class="input-xlarge" id="newDownload_url" placeholder="http://example.com"/>');
|
||||
$('#multiple_uris i').removeClass('icon-minus-sign').addClass('icon-plus-sign');
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$('#addNewDownload').click(newDownload);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user