Cmd / ctrl for copy
parent
896946cc2a
commit
c95c89f663
|
@ -24,7 +24,15 @@
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
copy: function() {
|
copy: function() {
|
||||||
window.prompt('Text is selected. To copy: press Ctrl+C then <Enter>', this.$raw.text());
|
var cmd;
|
||||||
|
if (navigator.platform == 'MacPPC' ||
|
||||||
|
navigator.platform == 'MacIntel') {
|
||||||
|
cmd = 'Cmd';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
cmd = 'Ctrl';
|
||||||
|
}
|
||||||
|
window.prompt('Text is selected. To copy: press ' + cmd + '+C then <Enter>', this.$raw.text());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -177,6 +177,7 @@ LOGGING = {
|
||||||
# Email
|
# Email
|
||||||
EMAIL_BACKEND = 'postmark.backends.PostmarkBackend'
|
EMAIL_BACKEND = 'postmark.backends.PostmarkBackend'
|
||||||
POSTMARK_API_KEY = '608d3101-1706-4a96-819f-f2f36fe00fe0'
|
POSTMARK_API_KEY = '608d3101-1706-4a96-819f-f2f36fe00fe0'
|
||||||
|
SEND_BROKEN_LINK_EMAILS = True
|
||||||
|
|
||||||
# Grappelli settings
|
# Grappelli settings
|
||||||
GRAPPELLI_ADMIN_TITLE = '<a href="/">Snipt</a>'
|
GRAPPELLI_ADMIN_TITLE = '<a href="/">Snipt</a>'
|
||||||
|
|
Loading…
Reference in New Issue