[logaling-commit] logaling/logaling-server [master] Remove error text when add_btn was clicked

Zurück zum Archiv-Index

SUZUKI Miho null+****@clear*****
Mon Dec 17 20:39:34 JST 2012


SUZUKI Miho	2012-12-17 20:39:34 +0900 (Mon, 17 Dec 2012)

  New Revision: 4ccc6999bbc4c3f04e6d34700224723501feb504
  https://github.com/logaling/logaling-server/commit/4ccc6999bbc4c3f04e6d34700224723501feb504

  Merged 2027dad: Merge pull request #46 from logaling/enable-adding-multiple-terms

  Log:
    Remove error text when add_btn was clicked

  Modified files:
    app/assets/javascripts/user_glossaries.js.coffee

  Modified: app/assets/javascripts/user_glossaries.js.coffee (+1 -0)
===================================================================
--- app/assets/javascripts/user_glossaries.js.coffee    2012-12-17 20:02:26 +0900 (2000bb3)
+++ app/assets/javascripts/user_glossaries.js.coffee    2012-12-17 20:39:34 +0900 (1feace8)
@@ -14,6 +14,7 @@ copy_block = (i) ->
   $("#source_term" + i).val ""
   $("#target_term" + i).val ""
   $("#note" + i).val ""
+  $(".text-error").text ""
 
 $ ->
   $("#add_btn").click ->
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Zurück zum Archiv-Index