Skip to content

Commit

Permalink
810232 - system templates - fix issue editing multiple templates
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuckingham committed Apr 18, 2012
1 parent 57dbff5 commit 80a4402
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/public/javascripts/system_template.js
Expand Up @@ -1179,6 +1179,7 @@ KT.template_download = {
KT.editable = {
setup_editable_name : function(id, success) {
$('.edit_template_name').each(function() {
$(this).editable('destroy');
$(this).editable(KT.common.rootURL() + "/system_templates/" + id, {
type : 'text',
width : 250,
Expand All @@ -1199,6 +1200,7 @@ KT.editable = {
},
setup_editable_description : function(id, success) {
$('.edit_template_description').each(function() {
$(this).editable('destroy');
$(this).editable(KT.common.rootURL() + "/system_templates/" + id, {
type : 'textarea',
rows : 6,
Expand Down

0 comments on commit 80a4402

Please sign in to comment.