[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14922] javascript error on save/restoring state
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [14922] javascript error on save/restoring state |
Date: |
Mon, 18 Apr 2016 13:12:39 +0000 |
Revision: 14922
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14922
Author: sigurdne
Date: 2016-04-18 13:12:39 +0000 (Mon, 18 Apr 2016)
Log Message:
-----------
javascript error on save/restoring state
Modified Paths:
--------------
trunk/phpgwapi/templates/base/datatable_jquery.xsl
Modified: trunk/phpgwapi/templates/base/datatable_jquery.xsl
===================================================================
--- trunk/phpgwapi/templates/base/datatable_jquery.xsl 2016-04-14 16:42:59 UTC
(rev 14921)
+++ trunk/phpgwapi/templates/base/datatable_jquery.xsl 2016-04-18 13:12:39 UTC
(rev 14922)
@@ -975,7 +975,7 @@
var temp = {};
temp[menuaction] = {}
oControls.each(function() {
- if ( $(this).attr('name') )
+ if ( $(this).attr('name') &&
$(this).val() != null)
{
sValue[
$(this).attr('name') ] = $(this).val().replace('"', '"');
temp[
$(this).attr('name') ] = $(this).val().replace('"', '"');
@@ -1045,7 +1045,8 @@
// console.log(oControls);
oControls.each(function()
{
- if ( $(this).attr('name') )
+// if ( $(this).attr('name') )
+ if ( $(this).attr('name') &&
$(this).val() != null)
{
value =
$(this).val().replace('"', '"');
aoData[
$(this).attr('name') ] = value;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14922] javascript error on save/restoring state,
Sigurd Nes <=