Created
November 3, 2015 13:32
-
-
Save amelekesov/b44664f3c99a411233de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/js/tygh/core.js b/js/tygh/core.js | |
| index 8a9c75c..8024d74 100644 | |
| --- a/js/tygh/core.js | |
| +++ b/js/tygh/core.js | |
| @@ -1191,15 +1191,12 @@ var Tygh = { | |
| frms.addClass('cm-processed-form'); | |
| frms.ceFormValidator(); | |
| - if (_.area == 'A') { | |
| - frms.filter('[method=post]:not(.cm-disable-check-changes)').addClass('cm-check-changes'); | |
| - var elms = (frms.length == 0) ? elm : frms; | |
| - | |
| - $('textarea.cm-wysiwyg', elms).appear(function() { | |
| - $(this).ceEditor(); | |
| - }); | |
| + frms.filter('[method=post]:not(.cm-disable-check-changes)').addClass('cm-check-changes'); | |
| + var elms = (frms.length == 0) ? elm : frms; | |
| - } | |
| + $('textarea.cm-wysiwyg', elms).appear(function() { | |
| + $(this).ceEditor(); | |
| + }); | |
| }, | |
| formatPrice: function(value, decplaces) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment