Skip to content

Commit e5e4f2a

Browse files
committed
Release 1.3
1 parent 0021599 commit e5e4f2a

File tree

5 files changed

+72
-64
lines changed

5 files changed

+72
-64
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ A demo application is available on apex.oracle.com<br/>
55
https://apex.oracle.com/pls/apex/f?p=SEARCHNAVIGATIONMENU
66

77
## Changelog
8+
V 1.3.
9+
<ul>
10+
<li>Added new function JS regarding to 'isExpanded("nav")' error for apex 5.1.1</li>
11+
</ul>
812
V 1.2.
913
<ul>
1014
<li>CSS added body action and not JS changing "display"</li>
11-
<li>Added new function JS regarding to 'isExpanded("nav")' error</li>
1215
<li>On resize if tree is clapsed then close all opened sub lists</li>
1316
</ul>
1417
V 1.1.
@@ -61,6 +64,7 @@ V 1.1.
6164
#### Apex Versions
6265
<ul>
6366
<li>Application Express 5.1.0</li>
67+
<li>Application Express 5.1.1</li>
6468
<li>Application Express 5.1.2</li>
6569
</ul>
6670

apexplugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "Search Navigation Menu",
3-
"version" : "1.2",
3+
"version" : "1.3",
44
"description" : "Oracle Application Express item Plug-in for search on Navigation Menu.",
55
"keywords" : ["search", "navigation", "menu", "list"],
66
"homepage" : "https://github.com/grlicaa/SearchNavigationMenu",
@@ -17,7 +17,7 @@
1717
"oracle" : {
1818
"versions" : ["12.2.0.1", "12.1.0.1", "11.2.0.1"],
1919
"apex" : {
20-
"versions" : ["5.1.0", "5.1.2"],
20+
"versions" : ["5.1.0", "5.1.1", "5.1.2"],
2121
"plugin" : {
2222
"internalName" : "si.abakus.searchnavigationmenu",
2323
"type" : "item",

docs/searchNavMenu.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! searchNavMenu.css v1.2 | ABAKUS PLUS d.o.o. | Andrej Grlica | [email protected] */
1+
/*! searchNavMenu.css v1.3 | ABAKUS PLUS d.o.o. | Andrej Grlica | [email protected] */
22
/* ==========================================================================
33
Date : 15.08.2017
44
-------------------------------------------------------------------------------

docs/searchNavMenu.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! searchNavMenu.js v1.2 | ABAKUS PLUS d.o.o. | Andrej Grlica | [email protected] */
1+
/*! searchNavMenu.js v1.3 | ABAKUS PLUS d.o.o. | Andrej Grlica | [email protected] */
22
/* ==========================================================================
33
Description
44
Script is used for Searching Navigation Menu in Oracle Application Express
@@ -52,11 +52,14 @@ function setCurrentNav(item_id) {
5252
}
5353

5454
function isNavTreeOpen() {
55-
if (apex.theme42.toggleWidgets.isExpanded("nav") == null) {
56-
return $('body').hasClass('js-navExpanded');
57-
}
58-
else
55+
try {
5956
return apex.theme42.toggleWidgets.isExpanded("nav");
57+
}
58+
catch(e) {
59+
apex.debug.info("apex.theme42.toggleWidgets.isExpanded('nav') dont exists errormsg: "+e);
60+
return $('body').hasClass('js-navExpanded');
61+
}
62+
return false;
6063
}
6164

6265
function saveSesSateNav(ajaxIdentifier, newVal) {

0 commit comments

Comments
 (0)