mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -04:00
fixed display bug when there were more than one number.
This commit is contained in:
parent
54f617786c
commit
a612a20f78
@ -1,11 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="walljm.dynamicbible"
|
package="walljm.dynamicbible"
|
||||||
android:versionCode="1"
|
android:versionCode="4"
|
||||||
android:versionName="1.0" >
|
android:versionName="1.3.1" >
|
||||||
<supports-screens
|
<supports-screens
|
||||||
android:smallScreens="false"
|
android:smallScreens="false"
|
||||||
android:normalScreens="false"
|
android:normalScreens="true"
|
||||||
android:largeScreens="true"
|
android:largeScreens="true"
|
||||||
android:xlargeScreens="true"
|
android:xlargeScreens="true"
|
||||||
/>
|
/>
|
||||||
|
@ -96,19 +96,27 @@ function Search(sv)
|
|||||||
dict = "grk";
|
dict = "grk";
|
||||||
}
|
}
|
||||||
q = q.substring(1, q.length);
|
q = q.substring(1, q.length);
|
||||||
var results = Strongs.GetStrongs(q, dict);
|
var Ss = q.split(' ');
|
||||||
|
|
||||||
// display results.
|
var results = [];
|
||||||
if ($("#display-strongs-as-dialog")[0].checked)
|
for (var s in Ss)
|
||||||
{
|
{
|
||||||
Strongs.DisplayStrongsDialog(results);
|
results.push(Strongs.GetStrongs(Ss[s], dict));
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Strongs.DisplayStrongs(results);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (var result in results)
|
||||||
|
{
|
||||||
|
// display results.
|
||||||
|
if ($("#display-strongs-as-dialog")[0].checked)
|
||||||
|
{
|
||||||
|
Strongs.DisplayStrongsDialog(results[result]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Strongs.DisplayStrongs(results[result]);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// its a verse reference.
|
// its a verse reference.
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="walljm.dynamicbible"
|
package="walljm.dynamicbible"
|
||||||
android:versionCode="1"
|
android:versionCode="4"
|
||||||
android:versionName="1.0" >
|
android:versionName="1.3.1" >
|
||||||
<supports-screens
|
<supports-screens
|
||||||
android:smallScreens="false"
|
android:smallScreens="false"
|
||||||
android:normalScreens="false"
|
android:normalScreens="false"
|
||||||
android:largeScreens="true"
|
android:largeScreens="true"
|
||||||
android:xlargeScreens="true"
|
android:xlargeScreens="true"
|
||||||
/>
|
android:anyDensity="true"/>
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="12" />
|
<uses-sdk android:minSdkVersion="12" />
|
||||||
|
|
||||||
|
3
DynamicBibleUtility/DynamicBibleUtility.sln.DotSettings
Normal file
3
DynamicBibleUtility/DynamicBibleUtility.sln.DotSettings
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:String x:Key="/Default/FilterSettingsManager/CoverageFilterXml/@EntryValue"><data><IncludeFilters /><ExcludeFilters /></data></s:String>
|
||||||
|
<s:String x:Key="/Default/FilterSettingsManager/AttributeFilterXml/@EntryValue"><data /></s:String></wpf:ResourceDictionary>
|
28
js/common.js
28
js/common.js
@ -96,19 +96,27 @@ function Search(sv)
|
|||||||
dict = "grk";
|
dict = "grk";
|
||||||
}
|
}
|
||||||
q = q.substring(1, q.length);
|
q = q.substring(1, q.length);
|
||||||
var results = Strongs.GetStrongs(q, dict);
|
var Ss = q.split(' ');
|
||||||
|
|
||||||
// display results.
|
var results = [];
|
||||||
if ($("#display-strongs-as-dialog")[0].checked)
|
for (var s in Ss)
|
||||||
{
|
{
|
||||||
Strongs.DisplayStrongsDialog(results);
|
results.push(Strongs.GetStrongs(Ss[s], dict));
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Strongs.DisplayStrongs(results);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (var result in results)
|
||||||
|
{
|
||||||
|
// display results.
|
||||||
|
if ($("#display-strongs-as-dialog")[0].checked)
|
||||||
|
{
|
||||||
|
Strongs.DisplayStrongsDialog(results[result]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Strongs.DisplayStrongs(results[result]);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// its a verse reference.
|
// its a verse reference.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user