2012-02-29 13:19:14 +01:00
|
|
|
$(document).ready(function(){
|
|
|
|
$('.button').button();
|
2012-03-01 10:32:48 +01:00
|
|
|
$('ul.menu li').button();
|
|
|
|
$('ul.breadcums').buttonset();
|
2012-03-01 11:36:06 +01:00
|
|
|
$('.sug-accept').button({text: false, icons: { primary: "ui-icon-check" }});
|
|
|
|
$('.sug-delete').button({text: false, icons: { primary: "ui-icon-close" }});
|
2012-03-01 11:54:31 +01:00
|
|
|
$('#id_target').change(function f() {$('#id_fuzzy').attr('checked', false);}).focus();
|
2012-03-02 16:01:53 +01:00
|
|
|
$('#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;
|
|
|
|
});
|
2012-02-29 13:19:14 +01:00
|
|
|
});
|