mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-28 20:39:18 +02:00
* include/javascript/jquery.pandora.controls.js, include/javascript/tiny_mce/plugins/media/js/media.js, include/javascript/tiny_mce/plugins/table/editor_plugin.js, include/javascript/tiny_mce/plugins/table/js/cell.js, include/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js, include/javascript/tiny_mce/themes/advanced/js/color_picker.js, include/javascript/tiny_mce/themes/advanced/js/image.js, include/javascript/jquery.pandora.js, include/javascript/jquery.tablesorter.js, include/javascript/OpenLayers/OpenLayers.js, include/javascript/jquery.form.js, include/javascript/jquery.timeentry.js, include/javascript/jquery.countdown.js, godmode/reporting/visual_console_builder.editor.js: fixed end of lines that it haven't semicolon end char. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
62 lines
1.2 KiB
JavaScript
62 lines
1.2 KiB
JavaScript
(function($) {
|
|
$.fn.check = function () {
|
|
return this.each (function () {
|
|
this.checked = true;
|
|
});};
|
|
|
|
$.fn.uncheck = function () {
|
|
return this.each (function () {
|
|
this.checked = false;
|
|
});};
|
|
|
|
$.fn.enable = function () {
|
|
return $(this).removeAttr ("disabled");
|
|
};
|
|
|
|
$.fn.disable = function () {
|
|
return $(this).attr ("disabled", "disabled");
|
|
};
|
|
|
|
$.fn.pulsate = function () {
|
|
var i = 0;
|
|
for (i = 0; i <= 2; i++) {
|
|
$(this).fadeOut ("slow").fadeIn ("slow");
|
|
}
|
|
};
|
|
|
|
$.fn.showMessage = function (msg) {
|
|
return $(this).hide ().empty ()
|
|
.text (msg)
|
|
.slideDown ();
|
|
};
|
|
}) (jQuery);
|
|
|
|
$(document).ready (function () {
|
|
$("a#show_messages_dialog").click (function () {
|
|
jQuery.get ("ajax.php",
|
|
{"page": "operation/messages/message"},
|
|
function (data, status) {
|
|
$("#dialog_messages").hide ()
|
|
.empty ()
|
|
.append (data)
|
|
.dialog ({
|
|
title: $("a#show_messages_dialog").attr ("title"),
|
|
resizable: false,
|
|
modal: true,
|
|
overlay: {
|
|
opacity: 0.5,
|
|
background: "black"
|
|
},
|
|
bgiframe: jQuery.browser.msie,
|
|
width: 700,
|
|
height: 300
|
|
})
|
|
.show ();
|
|
},
|
|
"html"
|
|
);
|
|
|
|
return false;
|
|
});
|
|
});
|