Fix bug where dropdown labels selectable on Android, add build script
This commit is contained in:
parent
6ad9ed620e
commit
c47be0c77f
8
build-android.sh
Executable file
8
build-android.sh
Executable file
@ -0,0 +1,8 @@
|
||||
cordova build --release android
|
||||
cd platforms/android/build/outputs/apk
|
||||
cp android-release-unsigned.apk android-release-signed.apk
|
||||
jarsigner -verbose -keystore ~/Documents/Projects/Certificates/Android/android.keystore android-release-signed.apk android
|
||||
jarsigner -verify -verbose -certs android-release-signed.apk
|
||||
rm android-release-signed-zipaligned.apk
|
||||
zipalign -v 4 android-release-signed.apk android-release-signed-zipaligned.apk
|
||||
|
@ -9,6 +9,7 @@
|
||||
Netsyms Technologies
|
||||
</author>
|
||||
<content src="index.html"/>
|
||||
<preference name="SplashScreen" value="none"/>
|
||||
<plugin name="cordova-plugin-whitelist" spec="1"/>
|
||||
<access origin="*"/>
|
||||
<allow-intent href="http://*/*"/>
|
||||
|
@ -19,8 +19,8 @@ cordova-plugin-camera=https://git-wip-us.apache.org/repos/asf/cordova-plugin-cam
|
||||
cordova-plugin-media=https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git
|
||||
cordova-plugin-media-capture=https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
|
||||
cordova-plugin-network-information=https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
|
||||
cordova-plugin-splashscreen=https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
|
||||
cordova-plugin-device=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
|
||||
cordova-plugin-console=https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
|
||||
cordova-plugin-file=https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
|
||||
cordova-plugin-compat=https://git-wip-us.apache.org/repos/asf/cordova-plugin-compat.git
|
||||
cordova-plugin-compat=https://git-wip-us.apache.org/repos/asf/cordova-plugin-compat.git
|
||||
cordova-plugin-splashscreen=https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
|
||||
|
@ -1,5 +1,8 @@
|
||||
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52
|
||||
auxiliary.org-netbeans-modules-cordova.phonegap=false
|
||||
auxiliary.org-netbeans-modules-javascript-nodejs.enabled=false
|
||||
auxiliary.org-netbeans-modules-javascript-nodejs.node_2e_default=true
|
||||
auxiliary.org-netbeans-modules-javascript-nodejs.sync_2e_enabled=true
|
||||
file.reference.SnipeITMobile-test=test
|
||||
file.reference.SnipeITMobile-www=www
|
||||
files.encoding=UTF-8
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -189,7 +189,7 @@
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.status === 'OK') {
|
||||
var innerhtml = "<option selected hidden>Location</option>"
|
||||
var innerhtml = "<option selected hidden disabled value='0'>Location</option>"
|
||||
for (var i = 0; i < data.list.length; i++) {
|
||||
innerhtml += "<option value=\"" + data.list[i].id + "\">" + data.list[i].name + "</option>";
|
||||
}
|
||||
@ -219,7 +219,7 @@
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.status === 'OK') {
|
||||
var innerhtml = "<option selected hidden>Status</option>"
|
||||
var innerhtml = "<option selected hidden disabled value='0'>Status</option>"
|
||||
for (var i = 0; i < data.list.length; i++) {
|
||||
if (from == 'hdd' && data.list[i].name.indexOf('HDD') == -1) {
|
||||
continue;
|
||||
@ -254,7 +254,7 @@
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.status === 'OK') {
|
||||
var innerhtml = "<option selected hidden>Model</option>"
|
||||
var innerhtml = "<option selected hidden disabled value='0'>Model</option>"
|
||||
for (var i = 0; i < data.list.length; i++) {
|
||||
if (from == 'hdd' && data.list[i].name != 'Hard Drive') {
|
||||
continue;
|
||||
|
@ -44,6 +44,7 @@
|
||||
Netsyms Technologies
|
||||
</author>
|
||||
<content src="index.html" />
|
||||
<preference name="SplashScreen" value="none" />
|
||||
<access origin="*" />
|
||||
<allow-intent href="http://*/*" />
|
||||
<allow-intent href="https://*/*" />
|
||||
|
@ -189,7 +189,7 @@
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.status === 'OK') {
|
||||
var innerhtml = "<option selected hidden>Location</option>"
|
||||
var innerhtml = "<option selected hidden disabled value='0'>Location</option>"
|
||||
for (var i = 0; i < data.list.length; i++) {
|
||||
innerhtml += "<option value=\"" + data.list[i].id + "\">" + data.list[i].name + "</option>";
|
||||
}
|
||||
@ -219,7 +219,7 @@
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.status === 'OK') {
|
||||
var innerhtml = "<option selected hidden>Status</option>"
|
||||
var innerhtml = "<option selected hidden disabled value='0'>Status</option>"
|
||||
for (var i = 0; i < data.list.length; i++) {
|
||||
if (from == 'hdd' && data.list[i].name.indexOf('HDD') == -1) {
|
||||
continue;
|
||||
@ -254,7 +254,7 @@
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.status === 'OK') {
|
||||
var innerhtml = "<option selected hidden>Model</option>"
|
||||
var innerhtml = "<option selected hidden disabled value='0'>Model</option>"
|
||||
for (var i = 0; i < data.list.length; i++) {
|
||||
if (from == 'hdd' && data.list[i].name != 'Hard Drive') {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user