if ($('#id_share').is(':checked')) {
$('#acl-wrapper').show();
- }
- else {
+ } else {
$('#acl-wrapper').hide();
}
}).trigger('change');
if (window.navMenuTimeout[menuID + '-closing']) {
window.navMenuTimeout[menuID + '-closing'] = false;
clearTimeout(window.navMenuTimeout[menuID + '-timeout']);
- }
- else {
+ } else {
window.navMenuTimeout[menuID + '-opening'] = true;
window.navMenuTimeout[menuID + '-timeout'] = setTimeout( function () {
if (window.navMenuTimeout[menuID + '-opening']) {
window.navMenuTimeout[menuID + '-opening'] = false;
clearTimeout(window.navMenuTimeout[menuID + '-timeout']);
- }
- else {
+ } else {
window.navMenuTimeout[menuID + '-closing'] = true;
window.navMenuTimeout[menuID + '-timeout'] = setTimeout( function () {
if (window.editSelect != 'none') {
$.extend(tinyMCEInitConfig, editorData);
tinyMCE.init(tinyMCEInitConfig);
- }
- else if (typeof editorData.plaintextFn == 'function') {
+ } else if (typeof editorData.plaintextFn == 'function') {
(editorData.plaintextFn)();
}
}
}
if (cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
if (! cPopup.ready) cPopup = null;
- }
- else {
+ } else {
if (cPopup !== null) { cPopup.close(); cPopup = null; }
}
textlen = txt.length;
if (textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
$('#profile-jot-desc').html(window.isPublic);
- }
- else {
+ } else {
$('#profile-jot-desc').html(' ');
}
}
if (cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
if (! cPopup.ready) cPopup = null;
- }
- else {
+ } else {
if (cPopup !== null) { cPopup.close(); cPopup = null; }
}
textlen = txt.length;
if (textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
$('#profile-jot-desc').html(window.isPublic);
- }
- else {
+ } else {
$('#profile-jot-desc').html(' ');
}
});
if (window.editSelect == 'none') {
var currentText = $(textElem).val();
$(textElem).val(currentText + data);
- }
- else
+ } else {
tinyMCE.execCommand('mceInsertRawHTML',false,data);
+ }
}
function jotVideoURL() {
if ($(this).is(':checked')) {
if (checkedstr.length != 0) {
checkedstr = checkedstr + ',' + $(this).val();
- }
- else {
+ } else {
checkedstr = $(this).val();
}
}