Skip to content

Commit ee46edb

Browse files
committed
[update] version 3.1.1
1 parent 398c492 commit ee46edb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+309
-258
lines changed

Diff for: bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gantt",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"homepage": "http://dhtmlx.com/docs/products/dhtmlxGantt/",
55
"description": "JavaScript event calendar. Allows to manage events and appointments in different views",
66
"main": [

Diff for: codebase/connector/combo_connector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function select(){
2525
function to_xml_start(){
2626
if ($this->skip) return "";
2727

28-
return "<option ".($this->selected?"selected='true'":"")."value='".$this->get_id()."'><![CDATA[".$this->data[$this->config->text[0]["name"]]."]]>";
28+
return "<option ".($this->selected?"selected='true'":"")."value='".$this->xmlentities($this->get_id())."'><![CDATA[".$this->data[$this->config->text[0]["name"]]."]]>";
2929
}
3030
/*! return self as XML string, ending part
3131
*/

Diff for: codebase/connector/db_phpcake.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ public function select($sql){
1919
else
2020
$res = $this->connection->find("all");
2121

22+
$temp = array();
2223
if (sizeof($res)){
2324
$name = get_class($this->connection);
24-
$temp = array();
2525
for ($i=sizeof($res)-1; $i>=0; $i--)
2626
$temp[]=&$res[$i][$name];
2727
}

Diff for: codebase/connector/db_phpci.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ public function query($sql){
1919
if ($res===false) {
2020
throw new Exception("CI - sql execution failed");
2121
}
22-
23-
return new PHPCIResultSet($res);
22+
23+
if (is_object($res))
24+
return new PHPCIResultSet($res);
25+
return new ArrayQueryWrapper(array());
2426
}
2527

2628
public function get_next($res){

Diff for: codebase/connector/db_phpyii.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public function select($sql){
1313
else
1414
$res = $this->connection->findAll();
1515

16+
$temp = array();
1617
if (sizeof($res)){
17-
$temp = array();
1818
foreach ($res as $obj)
1919
$temp[]=$obj->getAttributes();
2020
}

Diff for: codebase/connector/gantt_connector.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ public function render_links($table,$id="",$fields=false,$extra=false,$relation_
131131
class GanttDataProcessor extends DataProcessor{
132132
function name_data($data){
133133
if ($data=="start_date")
134-
return $this->config->text[0]["db_name"];
134+
return $this->config->text[0]["name"];
135135
if ($data=="id")
136-
return $this->config->id["db_name"];
136+
return $this->config->id["name"];
137137
if ($data=="duration" && $this->config->text[1]["name"] == "duration")
138-
return $this->config->text[1]["db_name"];
138+
return $this->config->text[1]["name"];
139139
if ($data=="end_date" && $this->config->text[1]["name"] == "end_date")
140-
return $this->config->text[1]["db_name"];
140+
return $this->config->text[1]["name"];
141141
if ($data=="text")
142-
return $this->config->text[2]["db_name"];
142+
return $this->config->text[2]["name"];
143143

144144
return $data;
145145
}

Diff for: codebase/dhtmlxgantt.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/dhtmlxgantt.js

+78-78
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/ext/dhtmlxgantt_marker.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/ext/dhtmlxgantt_quick_info.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/ext/dhtmlxgantt_tooltip.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_ar.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_be.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_ca.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_cn.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_cs.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_da.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_de.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_el.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_es.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_fi.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_fr.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_he.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_hu.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_id.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_it.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_jp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_kr.js

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_nb.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_nl.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_no.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_pl.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_pt.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_ro.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_ru.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_si.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_sk.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_sv.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_tr.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/locale/locale_ua.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/skins/dhtmlxgantt_broadway.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/skins/dhtmlxgantt_meadow.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/skins/dhtmlxgantt_skyblue.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: codebase/skins/dhtmlxgantt_terrace.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)