added export qr code (js)

This commit is contained in:
Robin Buse 2011-08-16 16:03:30 +03:00
parent 30a49b2151
commit f6490d7153

View file

@ -101,6 +101,7 @@ var padeditbar = (function()
else if (cmd == 'embed')
{
var padurl = document.location;
$('#embedimg').attr("src","https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=" + padurl);
$('#embedinput').val("<iframe src='" + padurl + "' width=600 height=400>");
self.toogleDropDown("embed");
$('#embedinput').focus().select();