DG IZ; shift+enter in publisher box submits contents

This commit is contained in:
danielvincent 2010-09-22 15:35:23 -07:00
parent b9be543ef6
commit 955d9130a2

View file

@ -41,6 +41,12 @@ $(document).ready(function(){
}
);
$("#publisher textarea").keydown( function(e) {
if (e.shiftKey && e.keyCode == 13) {
$("#publisher form").submit();
}
});
});//end document ready