Skip to content

Commit

Permalink
Allow the use of hyphens in areas.
Browse files Browse the repository at this point in the history
Thanks to rick-c for the fix.  Resolves habari/habari#480 in the forthcoming 0.9.2 too.
  • Loading branch information
lildude committed Oct 16, 2013
1 parent 9d38d52 commit 0df477a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/js/admin.js
Expand Up @@ -523,7 +523,7 @@ var themeManage = {
block.find('.instance_controls,small').remove();
block.append('<div class="close">&nbsp;</div><div class="handle">&nbsp;</div>');
// Add the block to the target area
var target = $('#'+($(this).attr('class').match(/target_(\w+)/)[1]));
var target = $('#'+($(this).attr('class').match(/target_([\w-]+)/)[1]));
target.append(block);
themeManage.refresh_areas();
return false;
Expand Down

0 comments on commit 0df477a

Please sign in to comment.