diff --git a/module/common/view/pastetext.html.php b/module/common/view/pastetext.html.php index 59a248b6da..65c643420e 100644 --- a/module/common/view/pastetext.html.php +++ b/module/common/view/pastetext.html.php @@ -36,6 +36,8 @@ $(function() var $newRow = $(rowTpl.replace(/%s/g, lastIndex + 1)); $newRow.find('.chosen').chosen(); + $newRow.find('.picker').remove() + $newRow.find('.picker-select').picker(); $newRow.find('.iframe').modalTrigger({iframe:true}); $newRow.find('[data-provide="colorpicker-later"]').colorPicker(); $newRow.datepickerAll(); diff --git a/module/story/control.php b/module/story/control.php index 0d2b6cf323..97bf4c9572 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -1718,6 +1718,8 @@ class story extends control $storyIdList = $this->post->storyIdList; $storyIdList = array_unique($storyIdList); + $this->story->replaceURLang($storyType); + /* Get edited stories. */ $stories = $this->story->getByList($storyIdList); $productStoryList = array();