Skip to content

Commit

Permalink
Merge branch 'YH-712'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Mar 9, 2015
2 parents b8c300d + f6f21dd commit b24706c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
function SelectByName(event){
console.log(event)
if (!event.added.created || event.added.created == false){
$('#field-url').val(window.location.origin + "/data/dataset/" + event.added.id)
$('#field-url').val(ckan.url('dataset/' + event.added.id));
$('#field-title').val(event.added.text)

}
else{

}
}

0 comments on commit b24706c

Please sign in to comment.