mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove alert
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = {
|
|||||||
server: {
|
server: {
|
||||||
command: `http-server -a 127.0.0.1 --port ${port} ./www`,
|
command: `http-server -a 127.0.0.1 --port ${port} ./www`,
|
||||||
port: port,
|
port: port,
|
||||||
launchTimeout: 8000
|
launchTimeout: 10000
|
||||||
},
|
},
|
||||||
launch: {
|
launch: {
|
||||||
dumpio: true,
|
dumpio: true,
|
||||||
|
|||||||
@@ -188,9 +188,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
||||||
|
|
||||||
if (scroll > this.currentPosition) {
|
if (scroll > this.currentPosition) {
|
||||||
//alert('BOTTOM');
|
|
||||||
} else {
|
} else {
|
||||||
//alert('UP');
|
|
||||||
this.scrollingOnce = false;
|
this.scrollingOnce = false;
|
||||||
}
|
}
|
||||||
if ((containerHeight - 100) > scroll) {
|
if ((containerHeight - 100) > scroll) {
|
||||||
|
|||||||
@@ -362,9 +362,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
||||||
|
|
||||||
if (scroll > this.currentPosition) {
|
if (scroll > this.currentPosition) {
|
||||||
//alert('BOTTOM');
|
|
||||||
} else {
|
} else {
|
||||||
//alert('UP');
|
|
||||||
this.scrollingOnce = false;
|
this.scrollingOnce = false;
|
||||||
}
|
}
|
||||||
if ((containerHeight - 100) > scroll) {
|
if ((containerHeight - 100) > scroll) {
|
||||||
@@ -647,7 +645,6 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
|
|
||||||
|
|
||||||
async takePicture() {
|
async takePicture() {
|
||||||
// alert("!");
|
|
||||||
|
|
||||||
const roomId = this.roomId
|
const roomId = this.roomId
|
||||||
|
|
||||||
@@ -656,7 +653,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
const lastphoto: any = await this.fileService.loadFiles();
|
const lastphoto: any = await this.fileService.loadFiles();
|
||||||
const { capturedImage, capturedImageTitle } = await this.fileService.loadFileData(lastphoto);
|
const { capturedImage, capturedImageTitle } = await this.fileService.loadFileData(lastphoto);
|
||||||
|
|
||||||
// alert('!!');
|
|
||||||
const base64 = await fetch(capturedImage);
|
const base64 = await fetch(capturedImage);
|
||||||
const blob = await base64.blob();
|
const blob = await base64.blob();
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ export class DespachoPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tstemethod(value: string) {
|
tstemethod(value: string) {
|
||||||
alert(value)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async openAddNoteModal(actionName: string) {
|
async openAddNoteModal(actionName: string) {
|
||||||
|
|||||||
@@ -358,7 +358,6 @@ export class PedidoPage implements OnInit {
|
|||||||
this.goBack()
|
this.goBack()
|
||||||
}
|
}
|
||||||
|
|
||||||
// alert(JSON.stringify(res)+' nada')
|
|
||||||
|
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import { HttpClient, HttpHeaders, HttpEventType } from '@angular/common/http';
|
|||||||
import { LoginUserRespose, UserForm, UserSession } from '../models/user.model';
|
import { LoginUserRespose, UserForm, UserSession } from '../models/user.model';
|
||||||
import { environment } from 'src/environments/environment';
|
import { environment } from 'src/environments/environment';
|
||||||
import { BehaviorSubject } from 'rxjs';
|
import { BehaviorSubject } from 'rxjs';
|
||||||
import { AuthConnstants } from '../config/auth-constants';
|
|
||||||
import { AlertController } from '@ionic/angular';
|
import { AlertController } from '@ionic/angular';
|
||||||
import { SessionStore } from '../store/session.service';
|
import { SessionStore } from '../store/session.service';
|
||||||
import { AESEncrypt } from '../services/aesencrypt.service';
|
import { AESEncrypt } from '../services/aesencrypt.service';
|
||||||
@@ -141,7 +140,6 @@ export class AuthService {
|
|||||||
const formData = message.temporaryData
|
const formData = message.temporaryData
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// alert('upload try')
|
|
||||||
let guid: any = await this.AttachmentsService.uploadFile(formData).toPromise()
|
let guid: any = await this.AttachmentsService.uploadFile(formData).toPromise()
|
||||||
message.file.guid = guid.path
|
message.file.guid = guid.path
|
||||||
|
|
||||||
@@ -217,7 +215,6 @@ export class AuthService {
|
|||||||
SessionStore.setInativity(false)
|
SessionStore.setInativity(false)
|
||||||
SessionStore.setUrlBeforeInactivity(this.router.url);
|
SessionStore.setUrlBeforeInactivity(this.router.url);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// alert('logout')
|
|
||||||
this.router.navigateByUrl('/', { replaceUrl: true });
|
this.router.navigateByUrl('/', { replaceUrl: true });
|
||||||
}, 100)
|
}, 100)
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ export class InativityService {
|
|||||||
function userIsNotActive() {
|
function userIsNotActive() {
|
||||||
// your function for too long inactivity goes here
|
// your function for too long inactivity goes here
|
||||||
SessionStore.setInativity(false)
|
SessionStore.setInativity(false)
|
||||||
// alert('go out')
|
|
||||||
try {
|
try {
|
||||||
window['inactivity/function']()
|
window['inactivity/function']()
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
|
|||||||
@@ -211,9 +211,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
|
|||||||
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
||||||
|
|
||||||
if (scroll > this.currentPosition) {
|
if (scroll > this.currentPosition) {
|
||||||
//alert('BOTTOM');
|
|
||||||
} else {
|
} else {
|
||||||
//alert('UP');
|
|
||||||
this.scrollingOnce = false;
|
this.scrollingOnce = false;
|
||||||
}
|
}
|
||||||
if ((containerHeight - 100) > scroll) {
|
if ((containerHeight - 100) > scroll) {
|
||||||
|
|||||||
@@ -242,9 +242,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|||||||
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
let containerHeight = windowHeight - e.srcElement.clientHeight;
|
||||||
|
|
||||||
if (scroll > this.currentPosition) {
|
if (scroll > this.currentPosition) {
|
||||||
//alert('BOTTOM');
|
|
||||||
} else {
|
} else {
|
||||||
//alert('UP');
|
|
||||||
this.scrollingOnce = false;
|
this.scrollingOnce = false;
|
||||||
}
|
}
|
||||||
if ((containerHeight - 100) > scroll) {
|
if ((containerHeight - 100) > scroll) {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user