(selection)
| 12 | |
| 13 | |
| 14 | let loading = (selection) => { |
| 15 | _modalSelection = uiModal(selection, _blocking); |
| 16 | |
| 17 | let loadertext = _modalSelection.select('.content') |
| 18 | .classed('loading-modal', true) |
| 19 | .append('div') |
| 20 | .attr('class', 'modal-section fillL'); |
| 21 | |
| 22 | loadertext |
| 23 | .append('img') |
| 24 | .attr('class', 'loader') |
| 25 | .attr('src', assets.getFileURL('img/loader-white.gif')); |
| 26 | |
| 27 | loadertext |
| 28 | .append('h3') |
| 29 | .text(_message); |
| 30 | |
| 31 | _modalSelection.select('button.close') |
| 32 | .attr('class', 'hide'); |
| 33 | |
| 34 | return loading; |
| 35 | }; |
| 36 | |
| 37 | |
| 38 | loading.message = function(val) { |
nothing calls this directly
no test coverage detected