Projet

Général

Profil

Révision 62ed0250 src/app/teachers/teachers.component.ts

Voir les différences:

src/app/teachers/teachers.component.ts
55 55

  
56 56
    onSaveTap(args) {
57 57
        let a = <TextField>getViewById(app.getRootView(), "album");
58
        this.album = a.text;
58
        this.album = a.text.toLowerCase().replace(/[^a-z0-9]/g, "");
59 59
        a = <TextField>getViewById(app.getRootView(), "albumPass");
60 60
        this.albumPass = a.text;
61 61
        a = <TextField>getViewById(app.getRootView(), "albumPassAdmin");

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux