1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 13:16:54 +02:00

Blocks Plugin: general js refactoring

This commit is contained in:
Awilum
2012-11-12 22:26:08 +02:00
parent 566694ad30
commit 506d2ea1e2
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ $.monstra.blocks = {
init: function() { },
embedCodes: function(name) {
showEmbedCodes: function(name) {
$('#shortcode').html('{block get="'+name+'"}');
$('#phpcode').html('<?php echo Block::get("'+name+'"); ?>');
$('#embedCodes').modal();