Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove escapejs from icon_url

  • Loading branch information...
commit c0f86062b54178a6035eca1fbaa1eb792566153f 1 parent 59d6353
@yakky yakky authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cms/admin/placeholderadmin.py
View
2  cms/admin/placeholderadmin.py
@@ -225,7 +225,7 @@ def edit_plugin(self, request, plugin_id):
'name': unicode(saved_object),
"type": saved_object.get_plugin_name(),
'plugin_id': plugin_id,
- 'icon': force_escape(escapejs(saved_object.get_instance_icon_src())),
+ 'icon': force_escape(saved_object.get_instance_icon_src()),
'alt': force_escape(escapejs(saved_object.get_instance_icon_alt())),
}
return render_to_response('admin/cms/page/plugin_forms_ok.html', context, RequestContext(request))
Please sign in to comment.
Something went wrong with that request. Please try again.