~dangarner/xibo/client-132

« back to all changes in this revision

Viewing changes to server/lib/js/layout.js

MergedĀ ~dangarner/xibo/server-layout-media-permissions

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    return false; //prevent submit
90
90
}
91
91
 
92
 
function microblog_callback()
 
92
var microblog_callback = function()
93
93
{
94
94
    // Conjure up a text editor
95
95
    $("#ta_template").ckeditor();
169
169
                    var layoutid = $(t).attr("layoutid");
170
170
                    var regionid = $(t).attr("regionid");
171
171
 
172
 
                    XiboFormRender("index.php?p=user&q=SetUserHomepageForm&layoutid="+layoutid+"&regionid="+regionid);
 
172
                    XiboFormRender("index.php?p=layout&q=RegionPermissionsForm&layoutid="+layoutid+"&regionid="+regionid);
173
173
                }
174
174
            }
175
175
        });
195
195
        
196
196
        
197
197
        // Preview
198
 
        $('.region').each(function(){
 
198
        $('.regionPreview').each(function(){
199
199
            new Preview(this);
200
200
        });
201
201