Merged branch feature/frontend-tests

This commit is contained in:
Peter 'Pita' Martischka 2012-11-13 07:29:57 -08:00
commit 4c095202bd
39 changed files with 9663 additions and 4 deletions

View file

@ -150,7 +150,7 @@ var chat = (function()
$("#chatinput").keypress(function(evt)
{
//if the user typed enter, fire the send
if(evt.which == 13)
if(evt.which == 13 || evt.which == 10)
{
evt.preventDefault();
self.send();

View file

@ -389,6 +389,10 @@ function handshake()
});
// Bind the colorpicker
var fb = $('#colorpicker').farbtastic({ callback: '#mycolorpickerpreview', width: 220});
// Bind the read only button
$('#readonlyinput').on('click',function(){
padeditbar.setEmbedLinks();
});
}
var pad = {