xmpp.chapril.org-conversejs/media/js/loader.js
2012-03-02 16:01:53 +01:00

15 lines
653 B
JavaScript

$(document).ready(function(){
$('.button').button();
$('ul.menu li').button();
$('ul.breadcums').buttonset();
$('.sug-accept').button({text: false, icons: { primary: "ui-icon-check" }});
$('.sug-delete').button({text: false, icons: { primary: "ui-icon-close" }});
$('#id_target').change(function f() {$('#id_fuzzy').attr('checked', false);}).focus();
$('#copy-text').button({text: false, icons: { primary: "ui-icon-arrowthick-1-s" }}).click(function f() {
$.get("/js/get/" + $('#id_checksum').attr('value') + '/', function(data) {
$('#id_target').text(data);
});
return false;
});
});