1cob.custom.customize.push(async function(core, utils, ui) { 2 3 const DEFINITION = "Lotes"; 4 5 core.customizeSaveBehaviors(DEFINITION, [ 6 { 7 name:"save", 8 icon: "icon-ok" 9 }, 10 { 11 name: "save-edit", 12 icon: "icon-ok", 13 cssClasses:"btn-success custom-hide-inline" 14 } 15 ]) 16 17 18 core.customizeInstances(DEFINITION, function(instance, presenter){ 19 if ($(".js-refresh-instance").length > 0) return 20 let $reloadBtn = $('<button class="btn btn-small btn-success js-refresh-instance custom-hide-inline"><i class="icon-refresh mr-1"></i><span>Actualiza</span></button>'); 21 22 $('.js-save-edit-instance').parent().append($reloadBtn); 23 $reloadBtn.on("click", function() { 24 let hash = window.location.hash 25 hash = hash.substring(0, hash.indexOf("?")) 26 window.location.replace(hash); 27 }); 28 }) 29 30 31 })
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.