daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Nov 24th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _BiDialogService.showConfirm(
  2.    $event || null,
  3.    'Delete',
  4.    'Do you want to delete the slot?',
  5.    'Delete', 'Cancel', 'Delete confirm').then(
  6.    deleteSlot => {
  7.       if (deleteSlot) {
  8.          _SlotsService.deleteSlot(slotId)          
  9.       }
  10.    });
  11.  
  12. _BiDialogService.showAlert(
  13.    $event || null,
  14.    'Success',
  15.    'Template saved.',
  16.    'Ok',
  17.    'Ok'
  18. );
  19.  
  20. import DialogController from './dialog.controller.js';
  21. _BiDialogService.showAdvanced(
  22.    $event || null,
  23.    DialogController,
  24.    require('./dialog.html'),
  25.    true
  26. );
RAW Paste Data
Top