Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def portal(&block)
- concat("<script>
- Ext.onReady(function(){
- Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
- var viewport = new Ext.Viewport({
- layout:'border',
- items: items
- });
- });
- </script>",block.binding);
- end
Add Comment
Please, Sign In to add comment