Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrdrvn committed Mar 2, 2017
1 parent 18006ef commit 83fbce1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions admin/view/javascript/d_visual_designer/d_visual_designer.js
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,9 @@ var d_visual_designer = {
var array_values = this.convert(name, value);

for (var key2 in array_values) {
name = key2.replace('][', ':');
name = name.replace('[', '::');
name = name.replace(']', '');
name = key2.replace(/\]\[/g, ':');
name = name.replace(/\[/g, '::');
name = name.replace(/\]/g, '');
if (array_values[key2].length > 0) {
shortcode += ' ' + name + '=\'' + this.escape(array_values[key2]) + '\'' + ' ';
}
Expand Down
6 changes: 3 additions & 3 deletions catalog/view/theme/default/javascript/d_visual_designer.js
Original file line number Diff line number Diff line change
Expand Up @@ -963,9 +963,9 @@ var d_visual_designer = {
var array_values = this.convert(name, value);

for (var key2 in array_values){
name = key2.replace('][',':');
name = name.replace('[','::');
name = name.replace(']','');
name = key2.replace(/\]\[/g, ':');
name = name.replace(/\[/g, '::');
name = name.replace(/\]/g, '');
shortcode+= ' '+name+'=\''+this.escape(array_values[key2])+'\''+' ';
}
}
Expand Down

0 comments on commit 83fbce1

Please sign in to comment.