/usr/share/hotot/js/ui.about_dlg.js is in hotot-common 1:0.9.8.14-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | if (typeof ui == 'undefined') var ui = {};
ui.AboutDlg = {
init:
function init () {
var btns = new widget.RadioGroup('#about_dlg_btns');
btns.on_clicked = function (btn, event) {
var page_name = $(btn).attr('href');
$('#about_dlg .about_dlg_page').not(page_name).hide();
$(page_name).show();
};
btns.create();
$(btns.buttons[0]).click();
var btn_about_ok = new widget.Button('#btn_about_ok');
btn_about_ok.on_clicked = function (event) {
globals.about_dialog.close();
};
btn_about_ok.create();
}
}
|