Closed #49
This commit is contained in:
parent
d3eaf27bdc
commit
89826a0be9
2 changed files with 17 additions and 20 deletions
|
@ -45,6 +45,7 @@ $(function()
|
|||
$('#url-handler-wrapper button').click(function(e)
|
||||
{
|
||||
var urls = $('#url-handler-wrapper textarea').val().split(/\s+/);
|
||||
$('#url-handler-wrapper textarea').val('');
|
||||
handleURLs(urls);
|
||||
});
|
||||
|
||||
|
@ -197,8 +198,6 @@ $(function()
|
|||
}
|
||||
|
||||
function handleInputs(inputs, callback)
|
||||
{
|
||||
$('#upload-step1').fadeOut(function()
|
||||
{
|
||||
for (var i = 0; i < inputs.length; i ++)
|
||||
{
|
||||
|
@ -220,6 +219,5 @@ $(function()
|
|||
$('#upload-step2').fadeIn(function()
|
||||
{
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<div id="url-handler">
|
||||
<textarea placeholder="You can also paste some URLs." name="urls"></textarea>
|
||||
</div>
|
||||
<button type="submit">Submit</button>
|
||||
<button type="submit">Add</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -118,7 +118,6 @@
|
|||
|
||||
<div id="upload-no-posts">
|
||||
<p class="alert alert-warning">Well, that’s disappointing…</p>
|
||||
<p><a href="<?php echo \Chibi\UrlHelper::route('post', 'list') ?>">Back to post list</a> or <a href="<?php echo \Chibi\UrlHelper::route('post', 'upload') ?>">try uploading again</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue