Commit d59bf484037693d29f0ad9dafe236b93ffa26916
1 parent
6385e72b
bug fix artbox-comment
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
resources/artbox_comment.js
@@ -141,7 +141,7 @@ | @@ -141,7 +141,7 @@ | ||
141 | $(settings.listSelector).load( | 141 | $(settings.listSelector).load( |
142 | ' ' + settings.listSelector, function(data) | 142 | ' ' + settings.listSelector, function(data) |
143 | { | 143 | { |
144 | - $commentForm.find(':submit').prop('disabled', false).text('Добавить комментарий'); | 144 | + $commentForm.find(':submit').prop('disabled', false).text('Оставить отзыв'); |
145 | $commentForm.trigger("reset"); | 145 | $commentForm.trigger("reset"); |
146 | } | 146 | } |
147 | ); | 147 | ); |
@@ -155,7 +155,7 @@ | @@ -155,7 +155,7 @@ | ||
155 | { | 155 | { |
156 | $commentForm.yiiActiveForm('updateAttribute', 'commentmodel-text', [data.message]); | 156 | $commentForm.yiiActiveForm('updateAttribute', 'commentmodel-text', [data.message]); |
157 | } | 157 | } |
158 | - $commentForm.find(':submit').prop('disabled', false).text('Добавить комментарий'); | 158 | + $commentForm.find(':submit').prop('disabled', false).text('Оставить отзыв'); |
159 | } | 159 | } |
160 | } | 160 | } |
161 | ); | 161 | ); |