Commit 69677464 authored by unknown's avatar unknown

fixed separe phrase widget again

parent 2be20a76
...@@ -40,7 +40,7 @@ $(document).ready(function() ...@@ -40,7 +40,7 @@ $(document).ready(function()
sankore.setPreference("ordSplPhrasesCode", $("#mp_view").html()); sankore.setPreference("ordSplPhrasesCode", $("#mp_view").html());
sankore.setPreference("ordSplPhrasesState", "1"); sankore.setPreference("ordSplPhrasesState", "1");
sankore.setPreference("ordSplPhrasesAnswer", ($("#mp_view").hasClass("answerRight"))?"answerRight":""); sankore.setPreference("ordSplPhrasesAnswer", ($("#mp_view").hasClass("answerRight"))?"answerRight":"");
sankore.setPreference("ordSplPhrases", w.elements.container.find( "textarea" ).val()); sankore.setPreference("ordSplPhrases", w.getData("phrase"));
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment