Skip to content

Commit

Permalink
Set combobox default value
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre committed Dec 12, 2018
1 parent 1341439 commit abbc557
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addons/cadastrapp/js/printBordereauParcellaire.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ GEOR.Addons.Cadastre.initPrintBordereauParcellaireWindow = function(parcelleId)
forceSelection: true,
triggerAction: 'all',
editable: false
});

// Load first value
comboBaseMap.store.on('load', function(ds,records,o){
comboBaseMap.setValue(0);
});

storeBaseMap.loadData(GEOR.Addons.Cadastre.pdfbasemaptitles);
Expand Down

0 comments on commit abbc557

Please sign in to comment.