Bunch of wording changes.
This commit is contained in:
@@ -117,7 +117,7 @@ Template.InternshipHtmlEditor.onCreated(function() {
|
||||
|
||||
if(ask) {
|
||||
//Ask the user if they want to update the repository with their changes.
|
||||
swal({
|
||||
swal.fire({
|
||||
title: "Save Changes",
|
||||
text: "Would you like to save any changes you have made to this page?",
|
||||
type: "question",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import './Messages.html';
|
||||
import swal from "sweetalert2";
|
||||
|
||||
const PREFIX = "Messages_";
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ Template.PageEditor.onCreated(function() {
|
||||
currentHtml = data;
|
||||
|
||||
//Ask the user if they want to update the repository with their changes.
|
||||
swal({
|
||||
swal.fire({
|
||||
title: "Save Changes",
|
||||
text: "Would you like to save any changes you have made to this page?",
|
||||
type: "question",
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
import './SlideshowEditor.html';
|
||||
import '/imports/ui/dialogs/SelectImageDialog.js';
|
||||
import swal from "sweetalert2";
|
||||
import {Session} from 'meteor/session';
|
||||
import {Meteor} from 'meteor/meteor';
|
||||
|
||||
const PREFIX = "SlideshowEditor_";
|
||||
|
||||
@@ -114,7 +116,7 @@ Template.SlideshowEditor.events({
|
||||
let slideshow = Session.get(PREFIX + 'selectedSlideshow');
|
||||
|
||||
if(slideshow) {
|
||||
swal({
|
||||
swal.fire({
|
||||
title: 'Are you sure?',
|
||||
text: "You won't be able to revert this!",
|
||||
type: 'warning',
|
||||
|
||||
Reference in New Issue
Block a user