mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -04:00
BUGFIXES: All operations now work
* fixed display of search results * downloaded jquery files so no longer rely on inet connection * fixed storage of references for save/load * multiple Bookname misspelled as bookname * added return false to avoid page reload
This commit is contained in:
parent
9294028f0b
commit
61753ba299
@ -13,10 +13,7 @@ a:hover {
|
||||
xmargin-right: 10px;
|
||||
padding: 0 10px 10px 10px;
|
||||
overflow:scroll;
|
||||
height: 600px;
|
||||
border-right: 2px solid #999;
|
||||
border-bottom: 2px solid #999;
|
||||
border-left: 2px solid #999;
|
||||
height: 100%;
|
||||
margin-right: 16px;
|
||||
margin-left: 16px;
|
||||
background: #eee;
|
||||
|
12
css/jquery.mobile-1.3.2.min.css
vendored
Normal file
12
css/jquery.mobile-1.3.2.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -9,13 +9,13 @@
|
||||
|
||||
<title>The Bible with Strong's Numbers and Cross References</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" />
|
||||
<link rel="stylesheet" href="css/jquery.mobile-1.3.2.min.css" />
|
||||
<link rel="stylesheet" href="css/themes/db.css" />
|
||||
|
||||
<style>@import "css/bible.css";</style>
|
||||
|
||||
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
|
||||
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
|
||||
<script src="js/jquery-1.9.1.min.js"></script>
|
||||
<script src="js/jquery.mobile-1.3.2.min.js"></script>
|
||||
|
||||
<script data-main="js/main" type="text/javascript" src="js/require-jquery.js"></script>
|
||||
<style>
|
||||
@ -71,7 +71,7 @@
|
||||
<div class="panel-content">
|
||||
<h3>Settings</h3>
|
||||
<ul data-role="listview">
|
||||
<li><label><input type="checkbox" name="display-strongs-as-dialog" id="display-strongs-as-dialog" />Display Strong's in Dialog</label></li>
|
||||
<!--<li><label><input type="checkbox" name="display-strongs-as-dialog" id="display-strongs-as-dialog" />Display Strong's in Dialog</label></li>-->
|
||||
<li><label>Select Font:
|
||||
<select id="changefont">
|
||||
<option value="georgia" selected="selected">Georgia</option>
|
||||
|
2011
js/common.js
2011
js/common.js
File diff suppressed because it is too large
Load Diff
5
js/jquery-1.9.1.min.js
vendored
Normal file
5
js/jquery-1.9.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9
js/jquery.mobile-1.3.2.min.js
vendored
Normal file
9
js/jquery.mobile-1.3.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
18
js/main.js
18
js/main.js
@ -5,6 +5,7 @@ require(["jquery", "db", "common", "reference", "jquery.cookie", "jquery.ui", "j
|
||||
$("#searchvalue").keypress(function(event) {
|
||||
if (event.which === 13) {
|
||||
common.Search($("#searchvalue").val());
|
||||
return false;
|
||||
}
|
||||
});
|
||||
$("#searchbtn").click(function()
|
||||
@ -22,11 +23,6 @@ require(["jquery", "db", "common", "reference", "jquery.cookie", "jquery.ui", "j
|
||||
common.Settings.DecreaseResultFontSize();
|
||||
return false;
|
||||
});
|
||||
$("#switch-panes").click(function()
|
||||
{
|
||||
common.Settings.SwitchPanes();
|
||||
return false;
|
||||
});
|
||||
$("#showhelp").click(function()
|
||||
{
|
||||
$("#help").dialog({
|
||||
@ -36,11 +32,6 @@ require(["jquery", "db", "common", "reference", "jquery.cookie", "jquery.ui", "j
|
||||
resizable: true
|
||||
});
|
||||
});
|
||||
$("#showhidesearch").click(function()
|
||||
{
|
||||
common.Settings.ShowHideSearch();
|
||||
return false;
|
||||
});
|
||||
$("#changefont").change(function()
|
||||
{
|
||||
common.Settings.ChangeResultFont($("#changefont").val());
|
||||
@ -67,6 +58,9 @@ require(["jquery", "db", "common", "reference", "jquery.cookie", "jquery.ui", "j
|
||||
$(".my-breakpoint.ui-grid-c .ui-block-b").css("width", window.innerWidth - 230);
|
||||
$(".my-breakpoint.ui-grid-c .ui-block-c").css("width", 100);
|
||||
$(".my-breakpoint.ui-grid-c .ui-block-d").css("width", 55);
|
||||
|
||||
$("#searchresults").css("height", window.innerHeight-100);
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
@ -74,7 +68,9 @@ require(["jquery", "db", "common", "reference", "jquery.cookie", "jquery.ui", "j
|
||||
$(".my-breakpoint.ui-grid-c .ui-block-b").css("width", window.innerWidth - 235);
|
||||
$(".my-breakpoint.ui-grid-c .ui-block-c").css("width", 100);
|
||||
$(".my-breakpoint.ui-grid-c .ui-block-d").css("width", 55);
|
||||
|
||||
$("#searchresults").css("height", window.innerHeight-100);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ define("reference",
|
||||
return r;
|
||||
}
|
||||
|
||||
function ParseBook(ref, data, errAcc) {
|
||||
function ParseBook(ref, data) {
|
||||
ref = ref.toLowerCase().trim();
|
||||
var fbook = ref.substring(0, ref.search(/\w\s+\d/i)+1);
|
||||
if (!fbook) fbook = ref;
|
||||
@ -439,7 +439,7 @@ define("reference",
|
||||
return rest;
|
||||
}
|
||||
|
||||
function parseFirstNum(ref, r, errAcr) {
|
||||
function parseFirstNum(ref, r, errAcc) {
|
||||
ref = ref.ltrim();
|
||||
var found = false;
|
||||
for (var i = 0; i <= ref.length; i++) {
|
||||
@ -576,7 +576,7 @@ define("reference",
|
||||
}
|
||||
}
|
||||
|
||||
function bookName(booknum) {
|
||||
function BookName(booknum) {
|
||||
var book = new Array();
|
||||
book[0] = "";
|
||||
book[1] = "Genesis";
|
||||
@ -672,7 +672,7 @@ define("reference",
|
||||
return {
|
||||
Parse: function(ref) {return new Reference(ref);},
|
||||
ParseBook: ParseBook,
|
||||
BookName: bookName
|
||||
BookName: BookName
|
||||
};
|
||||
}
|
||||
);
|
||||
|
BIN
mongoose-free-5.5.exe
Normal file
BIN
mongoose-free-5.5.exe
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user