diverses + doku
This commit is contained in:
@ -112,7 +112,9 @@ APP.DetailView_cl = class {
|
||||
var id_s = $('#id_s').val();
|
||||
var name_s = $('#name_s').val();
|
||||
var komponenteid_s = $('#komponenteid_s').val();
|
||||
var data_s = "id_s=" + id_s + "&status_s=protokolliert&name_s=" + name_s + "&komponenteid_s=" + komponenteid_s + "&katfehlerid_s=&katursacheid_s=&qsmitarbeiterid_s=&swentwicklerid_s=";
|
||||
var beschreibung_s = $('#beschreibung_s').val();
|
||||
var zeiterfasst_s = $('#zeiterfasst_s').val();
|
||||
var data_s = "id_s=" + id_s + "&status_s=protokolliert&name_s=" + name_s + "&komponenteid_s=" + komponenteid_s + "&katfehlerid_s=&katursacheid_s=&qsmitarbeiterid_s=&swentwicklerid_s=&beschreibungursache_s=&zeitbehoben_s&beschreibung_s=" + beschreibung_s + "&zeiterfasst_s=" + zeiterfasst_s;
|
||||
if (id_s == '') {
|
||||
type_s = 'POST';
|
||||
}
|
||||
@ -153,22 +155,4 @@ APP.DetailView_cl = class {
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------
|
||||
APP.SourceDetailView_cl = class extends APP.DetailView_cl {
|
||||
// ----------------------------------------------
|
||||
//constructor (name_spl, path_spl, template_spl) {
|
||||
// super.constructor(name_spl, path_spl, template_spl)
|
||||
//}
|
||||
checkContent_p () {
|
||||
// hier nur zur Demonstration Prüfung des Typs gegen eine Werteliste
|
||||
// (das realisiert man besser mit einer Liste)
|
||||
var status_b = true;
|
||||
var typ_s = $("#typ_s").val();
|
||||
if ((typ_s != "Typ1") && (typ_s != "Typ2")) {
|
||||
status_b = false;
|
||||
}
|
||||
return status_b;
|
||||
}
|
||||
}
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user