text: /**
   * Created by athar on 8/30/2016.
   */
  function validate(){
      swal({   title: "Are you sure?",
              text: "You will not be able to recover this imaginary file!",
              type: "warning",
              showCancelButton: true,
              confirmButtonColor: "#DD6B55",
              confirmButtonText: "Yes, delete it!",
              closeOnConfirm: false },
          function(){
              swal("Deleted!",
                  "Your imaginary file has been deleted.",
                  "success"); });
  }
  