Skip to content

Commit

Permalink
Release 1.4
Browse files Browse the repository at this point in the history
Now rorks in 5.0 and for font awesome
  • Loading branch information
grlicaa committed Aug 29, 2017
1 parent e5e4f2a commit 025fa6d
Show file tree
Hide file tree
Showing 5 changed files with 210 additions and 209 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ A demo application is available on apex.oracle.com<br/>
https://apex.oracle.com/pls/apex/f?p=SEARCHNAVIGATIONMENU

## Changelog
V 1.4.
<ul>
<li>Recrate Plugin for APEX 5.0</li>
<li>Changed CSS for Font Awesome <br/>
If you use font apex define icon CCS "fa-search" for font awesome "fa-search font_awesome"</li>
</ul>
V 1.3.
<ul>
<li>Added new function JS regarding to 'isExpanded("nav")' error for apex 5.1.1</li>
Expand Down
4 changes: 2 additions & 2 deletions apexplugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "Search Navigation Menu",
"version" : "1.3",
"version" : "1.4",
"description" : "Oracle Application Express item Plug-in for search on Navigation Menu.",
"keywords" : ["search", "navigation", "menu", "list"],
"homepage" : "https://github.com/grlicaa/SearchNavigationMenu",
Expand All @@ -17,7 +17,7 @@
"oracle" : {
"versions" : ["12.2.0.1", "12.1.0.1", "11.2.0.1"],
"apex" : {
"versions" : ["5.1.0", "5.1.1", "5.1.2"],
"versions" : ["5.0.0", "5.0.1", "5.0.2", "5.0.3", "5.0.4", "5.1.0", "5.1.1", "5.1.2"],
"plugin" : {
"internalName" : "si.abakus.searchnavigationmenu",
"type" : "item",
Expand Down
4 changes: 2 additions & 2 deletions docs/searchNavMenu.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! searchNavMenu.css v1.3 | ABAKUS PLUS d.o.o. | Andrej Grlica | andrej.grlica@abakus.si */
/*! searchNavMenu.css v1.4 | ABAKUS PLUS d.o.o. | Andrej Grlica | andrej.grlica@abakus.si */
/* ==========================================================================
Date : 15.08.2017
Date : 29.08.2017
-------------------------------------------------------------------------------
Description
Used for Searching Navigation Menu Style Sheet in Oracle Application Express
Expand Down
20 changes: 12 additions & 8 deletions docs/searchNavMenu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! searchNavMenu.js v1.3 | ABAKUS PLUS d.o.o. | Andrej Grlica | andrej.grlica@abakus.si */
/*! searchNavMenu.js v1.4 | ABAKUS PLUS d.o.o. | Andrej Grlica | andrej.grlica@abakus.si */
/* ==========================================================================
Description
Script is used for Searching Navigation Menu in Oracle Application Express
Expand Down Expand Up @@ -56,22 +56,26 @@ function isNavTreeOpen() {
return apex.theme42.toggleWidgets.isExpanded("nav");
}
catch(e) {
apex.debug.info("apex.theme42.toggleWidgets.isExpanded('nav') dont exists errormsg: "+e);
apex.debug.info("INFO: apex.theme42.toggleWidgets.isExpanded('nav') dont exists before apex 5.1 errormsg: "+e);
return $('body').hasClass('js-navExpanded');
}
return false;
}

function saveSesSateNav(ajaxIdentifier, newVal) {
apex.server.plugin( ajaxIdentifier, {
x01: newVal
}, {dataType:"text",
success: function( pData ) {
apex.debug.info("Saved session state.");
x01: newVal
}, {dataType:"json",
accept: "application/json",
success: function( pData ) {
if(pData.state == 'OK')
apex.debug.info("Saved session state.");
else
apex.debug.error("Save session state for Search Navigation failed :"+JSON.stringify(pData) );
},
error: function( pData ) {
apex.debug.error("Save session state for Search Navigation failed :"+JSON.stringify(pData) );
}
apex.debug.error("Save session state for Search Navigation failed :"+JSON.stringify(pData) );
}
});
}

Expand Down

0 comments on commit 025fa6d

Please sign in to comment.