Skip to content

Commit

Permalink
consistent UI langauge
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Hofmann committed Jul 3, 2020
1 parent ae833ff commit bbd982d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/LAPS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public Task OnGet()
LaraUI.Page.JSBridge.Submit("$('[data-toggle=\"tooltip\"]').tooltip();");
LaraUI.Page.JSBridge.Submit(@"var clipboard = new ClipboardJS('.clipboard-btn'); clipboard.on('success', function(e) { setTooltip(e.trigger, 'Copied!'); hideTooltip(e.trigger); }); clipboard.on('error', function(e) { setTooltip(e.trigger, 'Copied!'); hideTooltip(e.trigger); });");
LaraUI.Page.JSBridge.Submit(@"$('.clipboard-btn').tooltip({ trigger:'click', placement:'bottom' });");
LaraUI.Page.JSBridge.Submit(@"$('.mysearchbox').select2({ minimumInputLength: 4,placeholder: 'Computernamen eingeben', allowClear: true, theme: 'bootstrap4', ajax: { url: '/search' , dataType: 'json'} });");
LaraUI.Page.JSBridge.Submit(@"$('.mysearchbox').select2({ minimumInputLength: 4,placeholder: 'Enter computer name', allowClear: true, theme: 'bootstrap4', ajax: { url: '/search' , dataType: 'json'} });");
LaraUI.Page.JSBridge.Submit(@"var $eventSelect = $('.mysearchbox'); $eventSelect.on('select2:select', function (e) { LaraSelectedEventProxy('select2Selected', e); });");
LaraUI.Page.JSBridge.AddMessageListener("select2Selected", select2SelectedHandler);

Expand Down

0 comments on commit bbd982d

Please sign in to comment.