2012-02-29 13:19:14 +01:00
|
|
|
$(document).ready(function(){
|
|
|
|
$('.button').button();
|
2012-03-02 17:35:48 +01:00
|
|
|
$('ul.menu li a').button();
|
2012-03-01 10:32:48 +01:00
|
|
|
$('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-02 17:02:58 +01:00
|
|
|
$('.navi').buttonset();
|
2012-03-02 17:05:07 +01:00
|
|
|
$('.button-first').button({text: false, icons: { primary: "ui-icon-seek-first" }});
|
2012-03-02 17:02:58 +01:00
|
|
|
$('.button-next').button({text: false, icons: { primary: "ui-icon-seek-next" }});
|
|
|
|
$('.button-prev').button({text: false, icons: { primary: "ui-icon-seek-prev" }});
|
2012-03-02 17:05:07 +01:00
|
|
|
$('.button-end').button({text: false, icons: { primary: "ui-icon-seek-end" }});
|
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-03-02 17:39:45 +01:00
|
|
|
$('.accordion').accordion();
|
2012-03-05 11:50:21 +01:00
|
|
|
$('.errorlist').addClass('ui-state-error ui-corner-all');
|
2012-02-29 13:19:14 +01:00
|
|
|
});
|