$j("#profile-jot-text").click(enableOnUser);
- $j('.nav-menu-link').hover(function() {
- showNavMenu($j(this).attr('rel'));
+ $j('.nav-menu-list, .nav-menu-icon').hover(function() {
+ showNavMenu($j(this).attr('point'));
}, function() {
- hideNavMenu($j(this).attr('rel'));
+ hideNavMenu($j(this).attr('point'));
});
/* $j('html').click(function() { $j("#nav-notifications-menu" ).hide(); });*/
});
+function homeRedirect() {
+ $j('html').fadeOut('slow', function(){
+ window.location = baseurl + "/login";
+ });
+}
+
+
if(typeof window.photoEdit != 'undefined') {
$j(document).keydown(function(event) {
textarea.focus();
selected = document.selection.createRange();
if (BBcode == "url"){
- selected.text = "["+BBcode+"]" + "http://" + selected.text + "[/"+BBcode+"]";
+ selected.text = "["+BBcode+"=http://]" + selected.text + "[/"+BBcode+"]";
} else
selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
} else if (textarea.selectionStart || textarea.selectionStart == "0") {
var start = textarea.selectionStart;
var end = textarea.selectionEnd;
if (BBcode == "url"){
- textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + "http://" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
+ textarea.value = textarea.value.substring(0, start) + "["+BBcode+"=http://]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
} else
textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
}
$j("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
editor = true;
$j("a#jot-perms-icon").fancybox({
- 'transitionIn' : 'elastic',
- 'transitionOut' : 'elastic'
+ 'transitionIn' : 'none', //'elastic',
+ 'transitionOut' : 'none' //'elastic'
});
$j(".jothidden").show();
if (typeof cb!="undefined") cb();
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
- force_p_newlines : false,
- force_br_newlines : true,
- forced_root_block : '',
+ //force_p_newlines : false,
+ //force_br_newlines : true,
+ forced_root_block : 'div',
convert_urls: false,
content_css: window.baseURL + "/view/custom_tinymce.css",
theme_advanced_path : false,
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
- force_p_newlines : false,
- force_br_newlines : true,
- forced_root_block : '',
+ //force_p_newlines : false,
+ //force_br_newlines : true,
+ forced_root_block : 'div',
convert_urls: false,
content_css: baseurl + "/view/custom_tinymce.css",
//Character count
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
- force_p_newlines : false,
- force_br_newlines : true,
- forced_root_block : '',
+ //force_p_newlines : false,
+ //force_br_newlines : true,
+ forced_root_block : 'div',
content_css: baseurl + "/view/custom_tinymce.css",
theme_advanced_path : false,
setup : function(ed) {
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
- force_p_newlines : false,
- force_br_newlines : true,
- forced_root_block : '',
+ //force_p_newlines : false,
+ //force_br_newlines : true,
+ forced_root_block : 'div',
content_css: baseurl + "/view/custom_tinymce.css",
theme_advanced_path : false,
setup : function(ed) {
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
- force_p_newlines : false,
- force_br_newlines : true,
- forced_root_block : '',
+ //force_p_newlines : false,
+ //force_br_newlines : true,
+ forced_root_block : 'div',
content_css: baseurl + "/view/custom_tinymce.css"
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
- force_p_newlines : false,
- force_br_newlines : true,
- forced_root_block : '',
+ //force_p_newlines : false,
+ //force_br_newlines : true,
+ forced_root_block : 'div',
convert_urls: false,
content_css: baseurl + "/view/custom_tinymce.css",
//Character count