incorrect form submission bug fixed

This commit is contained in:
hamza zia 2012-08-27 19:12:50 +08:00
parent 4d606f6d14
commit 76299e6b1f
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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);