Changeset:
        7f24e8633cd0
        
https://sourceforge.net/p/mrbs/hg-code/ci/7f24e8633cd0eb18b7d1086b277f4f174b60c901
Author:
        Campbell Morrison <[email protected]>
Date:
        Tue Mar 07 17:32:17 2017 +0000
Log message:

Removed an unnecessary replacement of the colon at the end of the label, now
that the colon is not part of the label but generated as a CSS pseudo-element.

diffstat:

 web/js/edit_entry.js.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 40312b9f58a0 -r 7f24e8633cd0 web/js/edit_entry.js.php
--- a/web/js/edit_entry.js.php  Tue Mar 07 17:27:39 2017 +0000
+++ b/web/js/edit_entry.js.php  Tue Mar 07 17:32:17 2017 +0000
@@ -267,7 +267,7 @@
       if (label.length > 0)
       {
         validationMessages.vocab[key] = label.text();
-        validationMessages.vocab[key] = '"' + 
validationMessages.vocab[key].replace(/:$/, '') + '" ';
+        validationMessages.vocab[key] = '"' + validationMessages.vocab[key] + 
'" ';
         validationMessages.vocab[key] += '<?php echo 
escape_js(get_vocab("is_mandatory_field")) ?>';
     
         field = document.getElementById(key);

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to