Remove debug and extra new lines

This commit is contained in:
Hypolite Petovan 2016-10-21 14:24:43 -04:00
parent c340d590f7
commit 71e93d9eb9
2 changed files with 11 additions and 24 deletions

View file

@ -30,7 +30,6 @@
$('#id_finish_text').prop("disabled", false); $('#id_finish_text').prop("disabled", false);
} }
$(document).ready(function() { $(document).ready(function() {
$('#events-calendar').fullCalendar({ $('#events-calendar').fullCalendar({
firstDay: '{{$i18n.firstDay|escape:'quotes'}}', firstDay: '{{$i18n.firstDay|escape:'quotes'}}',
@ -105,7 +104,6 @@
}, },
eventRender: function(event, element, view) { eventRender: function(event, element, view) {
//console.log(view.name);
if (event.item['author-name']==null) return; if (event.item['author-name']==null) return;
switch(view.name){ switch(view.name){
case "month": case "month":
@ -158,13 +156,11 @@
}); });
</script> </script>
{{if $editselect != 'none'}} {{if $editselect != 'none'}}
<script language="javascript" type="text/javascript" <script language="javascript" type="text/javascript"
src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
tinyMCE.init({ tinyMCE.init({
theme : "advanced", theme : "advanced",
mode : "textareas", mode : "textareas",
@ -181,8 +177,6 @@
entity_encoding : "raw", entity_encoding : "raw",
add_unload_trigger : false, add_unload_trigger : false,
remove_linebreaks : false, remove_linebreaks : false,
//force_p_newlines : false,
//force_br_newlines : true,
forced_root_block : 'div', forced_root_block : 'div',
content_css: "{{$baseurl}}/view/custom_tinymce.css", content_css: "{{$baseurl}}/view/custom_tinymce.css",
theme_advanced_path : false, theme_advanced_path : false,
@ -201,7 +195,6 @@
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
{{/if}} {{/if}}
$(document).ready(function() { $(document).ready(function() {
{{if $editselect = 'none'}} {{if $editselect = 'none'}}
$("#comment-edit-text-desc").bbco_autocomplete('bbcode'); $("#comment-edit-text-desc").bbco_autocomplete('bbcode');
@ -217,7 +210,6 @@
} }
}).trigger('change'); }).trigger('change');
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
var selstr; var selstr;
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {

View file

@ -6,7 +6,6 @@
<script type="text/javascript" src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script> <script type="text/javascript" src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
<script type="text/javascript" src="view/theme/frio/js/mod_events.js"></script> <script type="text/javascript" src="view/theme/frio/js/mod_events.js"></script>
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
// pass php translation strings to js variables/arrays so we can make use of it in js files // pass php translation strings to js variables/arrays so we can make use of it in js files
aStr.monthNames = [ aStr.monthNames = [
@ -79,7 +78,6 @@
src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
tinyMCE.init({ tinyMCE.init({
theme : "advanced", theme : "advanced",
mode : "textareas", mode : "textareas",
@ -96,8 +94,6 @@
entity_encoding : "raw", entity_encoding : "raw",
add_unload_trigger : false, add_unload_trigger : false,
remove_linebreaks : false, remove_linebreaks : false,
//force_p_newlines : false,
//force_br_newlines : true,
forced_root_block : 'div', forced_root_block : 'div',
content_css: "{{$baseurl}}/view/custom_tinymce.css", content_css: "{{$baseurl}}/view/custom_tinymce.css",
theme_advanced_path : false, theme_advanced_path : false,
@ -116,7 +112,6 @@
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
{{/if}} {{/if}}
$(document).ready(function() { $(document).ready(function() {
{{if $editselect = 'none'}} {{if $editselect = 'none'}}
$("#comment-edit-text-desc").bbco_autocomplete('bbcode'); $("#comment-edit-text-desc").bbco_autocomplete('bbcode');