Repository URL to install this package:
|
Version:
0.0.2 ▾
|
jQuery(window).on('mercury:ready', function() {
var link = $('#edit_link');
if (typeof link.data('save-url') != 'undefined') {
console.log('only set saveUrl if it exists');
Mercury.saveUrl = link.data('save-url');
}
Mercury.saveMethod = 'PUT';
link.hide();
});