FSN#34495 api_notes &module=MLD parameter ondersteunen (effectief zelfs verplicht)
svn path=/Website/trunk/; revision=27376
This commit is contained in:
@@ -21,5 +21,5 @@
|
||||
<!-- #include file="./api2_rest.inc" -->
|
||||
<!-- #include file="./model_notes.inc" -->
|
||||
<%
|
||||
api2_rest.process(model_notes);
|
||||
api2_rest.process(new model_notes(getQParam("module", "").toUpperCase()));
|
||||
%>
|
||||
@@ -102,6 +102,8 @@ function model_notes(module)
|
||||
tabel.parent = "prj_scenario";
|
||||
break;
|
||||
}
|
||||
default:
|
||||
api2.error(500, "Missing module parameter");
|
||||
}
|
||||
this.table = tabel.naam;
|
||||
this.primary = tabel.parent + "_note_key";
|
||||
|
||||
Reference in New Issue
Block a user