5.x: Fix a couple of upload issues (#1469)
* Remove debugging junk
* Remove duplicate `#{dir}` from upload commit message
This commit is contained in:
@@ -185,7 +185,7 @@ $(document).ready(function() {
|
||||
success: function(data) {
|
||||
// File successfully uploaded
|
||||
$('#wiki-content').removeClass('uploading');
|
||||
flashNotice("success", "Your file was successfully uploaded.", "foobar", "alert('flash!')");
|
||||
flashNotice("success", "Your file was successfully uploaded.");
|
||||
},
|
||||
error: function(data, textStatus, errorThrown) {
|
||||
$('#wiki-content').removeClass('uploading');
|
||||
|
||||
Reference in New Issue
Block a user