Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-04-15 06:25:44 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-04-15 06:25:44 +0300
commit91da1a8f38eb94e7d5c9b7dd4aac57b257ce17f3 (patch)
tree2c70cccc6a05909456eb98709672d06452e5309f /js/makegrid.js
parent5d18ac872cab5e3e70f86e5103c450aa52e43117 (diff)
Fix issues related to number of decimal places in time
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/makegrid.js')
-rw-r--r--js/makegrid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/makegrid.js b/js/makegrid.js
index a7f06e5f72..48f311e79c 100644
--- a/js/makegrid.js
+++ b/js/makegrid.js
@@ -656,7 +656,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
new_html = new_html.replace(/\n/g, '<br>\n');
//remove decimal places if column type not supported
- if (($this_field.attr('data-decimals') === 0) && ( $this_field.attr('data-type').indexOf('time') != -1)) {
+ if (($this_field.attr('data-decimals') == 0) && ( $this_field.attr('data-type').indexOf('time') != -1)) {
new_html = new_html.substring(0, new_html.indexOf('.'));
}