Commit 88997c46 authored by Troy A. Griffitts's avatar Troy A. Griffitts

Removed obsolete enableViewTypes and enableDailyDevotional now that menu can...

Removed obsolete enableViewTypes and enableDailyDevotional now that menu can be manipulated in brand.js
parent d5b8a8fd
...@@ -2,8 +2,6 @@ var app = { ...@@ -2,8 +2,6 @@ var app = {
version: '1.3.903', // change version here and in config.xml, near top version: '1.3.903', // change version here and in config.xml, near top
backFunction: null, backFunction: null,
enableBibleSync : true, enableBibleSync : true,
enableViewTypes : true,
enableDailyDevotionals : true,
enableGospelParallels : true, enableGospelParallels : true,
bibleSyncRefs : [], bibleSyncRefs : [],
isPopupShowing : false, isPopupShowing : false,
...@@ -993,14 +991,12 @@ console.log('setShowGospelParallels: ' + value); ...@@ -993,14 +991,12 @@ console.log('setShowGospelParallels: ' + value);
}, },
addViewSelector: function(callback) { addViewSelector: function(callback) {
var t = ''; var t = '';
if (app.enableViewTypes) { t += '<tr><td class="menuLabel" onclick="app.toggleViewSelector(); return false;"><img src="img/ic_action_settings.png" style="height:1em;"/> <span id="viewLabel" data-english="View">View</span>: <span style="font-size:70%;" id="mainViewType">' + app.mainViewType + '</span></td></tr>';
t += '<tr><td class="menuLabel" onclick="app.toggleViewSelector(); return false;"><img src="img/ic_action_settings.png" style="height:1em;"/> <span id="viewLabel" data-english="View">View</span>: <span style="font-size:70%;" id="mainViewType">' + app.mainViewType + '</span></td></tr>'; t += '<tr><td style="width:100%;"><div class="viewSelectorPanel toshow">';
t += '<tr><td style="width:100%;"><div class="viewSelectorPanel toshow">'; t += '<div class="subMenuItem"><input type="radio" id="viewBibles" name="viewSelector" value="Bibles" onclick="app.setViewBibles();return false;"/> <label id="viewBiblesLabel" data-english="Bibles" for="viewBibles">Bibles</label></div>';
t += '<div class="subMenuItem"><input type="radio" id="viewBibles" name="viewSelector" value="Bibles" onclick="app.setViewBibles();return false;"/> <label id="viewBiblesLabel" data-english="Bibles" for="viewBibles">Bibles</label></div>'; t += '<div class="subMenuItem"><input type="radio" id="viewLanguageAssist" name="viewSelector" value="Language Assist" onclick="app.setViewLanguageAssist();return false;"/> <label id="viewLALabel" data-english="Language Assist" for="viewLanguageAssist">Language Assist</label></div>';
t += '<div class="subMenuItem"><input type="radio" id="viewLanguageAssist" name="viewSelector" value="Language Assist" onclick="app.setViewLanguageAssist();return false;"/> <label id="viewLALabel" data-english="Language Assist" for="viewLanguageAssist">Language Assist</label></div>'; t += '<div class="subMenuItem"><input type="radio" id="viewCommentaryAssist" name="viewSelector" value="Commentary Assist" onclick="app.setViewCommentaryAssist();return false;"/> <label id="viewCALabel" data-english="Commentary Assist" for="viewCommentaryAssist">Commentary Assist</label></div>';
t += '<div class="subMenuItem"><input type="radio" id="viewCommentaryAssist" name="viewSelector" value="Commentary Assist" onclick="app.setViewCommentaryAssist();return false;"/> <label id="viewCALabel" data-english="Commentary Assist" for="viewCommentaryAssist">Commentary Assist</label></div>'; t += '</div></td></tr>';
t += '</div></td></tr>';
}
return callback ? callback(t) : t; return callback ? callback(t) : t;
}, },
addVerseStudy: function(callback) { addVerseStudy: function(callback) {
...@@ -1009,9 +1005,7 @@ console.log('setShowGospelParallels: ' + value); ...@@ -1009,9 +1005,7 @@ console.log('setShowGospelParallels: ' + value);
}, },
addDailyDevotional: function(callback) { addDailyDevotional: function(callback) {
var t = ''; var t = '';
if (app.enableDailyDevotionals) { t += '<tr class="menuLabel" onclick="dailyDevo.show();return false;"><td><img src="img/ic_action_about.png" style="height:1em;"/> <span id="dailyDevoLabel" data-english="Daily Devotion">Daily Devotion</span></td></tr>';
t += '<tr class="menuLabel" onclick="dailyDevo.show();return false;"><td><img src="img/ic_action_about.png" style="height:1em;"/> <span id="dailyDevoLabel" data-english="Daily Devotion">Daily Devotion</span></td></tr>';
}
return callback ? callback(t) : t; return callback ? callback(t) : t;
}, },
addBookmarks: function(callback) { addBookmarks: function(callback) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment