Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-gauthier-geosiris committed Sep 25, 2024
1 parent dc7ecc6 commit 51dd992
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
26 changes: 12 additions & 14 deletions src/main/webapp/jsp/htmlParts/modal_PropertiesDictVue.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,22 @@ limitations under the License.
<script type="module">
import {filterJsonDictUI, refreshPropertyDictVue} from "/ressources/script/modules/UI/modals/propertiesVue.js";
import {onEnterPressed} from "/ressources/script/modules/UI/htmlUtils.js";
function filter_dict(event){
filterJsonDictUI('container_PropertiesDict',
"counter_PropertiesDict",
document.getElementById('FilterPropertiesDict').value,
document.getElementById('caseSenstive_PropertiesDict').checked,
document.getElementById('splitWords_PropertiesDict').checked,
document.getElementById('FilterPropertiesAttribute').value);
}
document.getElementById("FilterPropertiesDict").onkeypress = function(event){
onEnterPressed(event, function(){
filterJsonDictUI('container_PropertiesDict',
"counter_PropertiesDict",
document.getElementById('FilterPropertiesDict').value,
document.getElementById('caseSenstive_PropertiesDict').checked,
document.getElementById('splitWords_PropertiesDict').checked);
});
onEnterPressed(event, filter_dict);
}
document.getElementById("but_FilterPropertiesDict").onclick = function(event){
filterJsonDictUI('container_PropertiesDict',
"counter_PropertiesDict",
document.getElementById('FilterPropertiesDict').value,
document.getElementById('caseSenstive_PropertiesDict').checked,
document.getElementById('splitWords_PropertiesDict').checked,
document.getElementById('FilterPropertiesAttribute').value);
document.getElementById("FilterPropertiesAttribute").onkeypress = function(event){
onEnterPressed(event, filter_dict);
}
document.getElementById("but_FilterPropertiesDict").onclick = filter_dict;
document.getElementById("but_updatePropDict").onclick = function(event){
refreshPropertyDictVue();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ export function addJsonData(jsObject, jsonEltVue, printListIdx, f_applyOnKey){
}
}
}else{
spanTitle._object = jsObject[i];
if(spanTitle != null){
var boldSpan = document.createElement("b");
boldSpan.appendChild(spanTitle.firstChild);
Expand Down

0 comments on commit 51dd992

Please sign in to comment.