send title when adding link
This commit is contained in:
parent
cf9c26e96a
commit
04b9a040df
|
@ -111,7 +111,7 @@ $(function() {
|
|||
$this.attr("disabled", "disabled");
|
||||
var title = prompt("Please enter a title for the link");
|
||||
var url = "/mediagallery/add_link/" + GALLERY_ID;
|
||||
$.get(url, {'url': url}, function(data) {
|
||||
$.get(url, {'url': url, 'title': title}, function(data) {
|
||||
$this.removeAttr("disabled");
|
||||
var $ul = $('#links');
|
||||
var $li = $('<li />')
|
||||
|
|
Loading…
Reference in New Issue
Block a user