noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 131/219: Bug : correct catch clause , getMess


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 131/219: Bug : correct catch clause , getMessage is wrong must be replaced by message
Date: Mon, 18 Dec 2017 13:22:50 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit e21b922d803ac81bf466abee71c92bb1dc402603
Author: Dany De Bontridder <address@hidden>
Date:   Wed Nov 1 23:03:17 2017 +0100

    Bug : correct catch clause , getMessage is wrong
    must be replaced by message
---
 html/js/acc_ledger.js      | 8 ++++----
 html/js/accounting_item.js | 4 ++--
 html/js/card.js            | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/html/js/acc_ledger.js b/html/js/acc_ledger.js
index 5473d78..768ebdf 100644
--- a/html/js/acc_ledger.js
+++ b/html/js/acc_ledger.js
@@ -56,7 +56,7 @@ function update_predef(p_type, p_direct, p_ac)
                         // document.getElementsByName(name_ctl)[0].value = 
code_html;
                         $('modele_op_div').innerHTML = code_html;
                     } catch (e) {
-                        $('info_div').innerHTML = e.getMessage;
+                        $('info_div').innerHTML = e.message;
                     }
                 }
             }
@@ -201,13 +201,13 @@ function update_row(ctl)
                                 }
                             }
                         } catch (e) {
-                            alert_box(e.getMessage);
+                            alert_box(e.message);
                         }
                     }
                 }
         );
     } catch (e) {
-        alert_box(e.getMessage);
+        alert_box(e.message);
     }
 }
 /**
@@ -1214,4 +1214,4 @@ function document_remove(p_dossier,p_div,p_jrid)
             })
         }
     });
-}
\ No newline at end of file
+}
diff --git a/html/js/accounting_item.js b/html/js/accounting_item.js
index 8ef2d2b..6bc290d 100644
--- a/html/js/accounting_item.js
+++ b/html/js/accounting_item.js
@@ -186,7 +186,7 @@ function search_poste(obj)
     }
     catch (e)
     {
-        alert_box(e.getMessage);
+        alert_box(e.message);
     }
 }
 /**
@@ -376,4 +376,4 @@ function pcmn_save()
     }
     return false;
 }
- 
\ No newline at end of file
+ 
diff --git a/html/js/card.js b/html/js/card.js
index 98102b9..3e48d18 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -51,7 +51,7 @@ function boxsearch_card(p_dossier)
                                  );
        }catch( e)
        {
-               alert_box(e.getMessage);
+               alert_box(e.message);
        }
 }
 /**



reply via email to

[Prev in Thread] Current Thread [Next in Thread]