PM-1340 IMPROVEMENT
This commit is contained in:
@@ -147,7 +147,7 @@ class pmDynaform
|
|||||||
$items[$key]->data = $rows;
|
$items[$key]->data = $rows;
|
||||||
}
|
}
|
||||||
if ($items[$key]->type !== "grid") {
|
if ($items[$key]->type !== "grid") {
|
||||||
$value = "";
|
$value = $this->data[$items[$key]->name];
|
||||||
$label = "";
|
$label = "";
|
||||||
if (isset($this->data[$items[$key]->name . "_label"])) {
|
if (isset($this->data[$items[$key]->name . "_label"])) {
|
||||||
$value = $this->data[$items[$key]->name];
|
$value = $this->data[$items[$key]->name];
|
||||||
|
|||||||
@@ -44,15 +44,6 @@ $(window).load(function () {
|
|||||||
token: credentials,
|
token: credentials,
|
||||||
submitRest: false
|
submitRest: false
|
||||||
});
|
});
|
||||||
new PMDynaform.core.Proxy({
|
|
||||||
url: "http://" + window.project.keys.server + "/" + window.project.keys.apiName + "/" + window.project.keys.apiVersion + "/" + window.project.keys.workspace + "/cases/" + app_uid + "/variables",
|
|
||||||
method: 'GET',
|
|
||||||
data: {},
|
|
||||||
keys: window.project.token,
|
|
||||||
successCallback: function (xhr, response) {
|
|
||||||
window.project.setData2(response);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
var type = document.createElement("input");
|
var type = document.createElement("input");
|
||||||
type.type = "hidden";
|
type.type = "hidden";
|
||||||
|
|||||||
Reference in New Issue
Block a user