Commit 9431bcd5 authored by Richard Mansfield's avatar Richard Mansfield

Remove my views javascript

Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent d2a25868
$j = jQuery;
$j(function() {
$j('.expand').click(function(e) {
e.preventDefault();
$j('#' + this.id + '-expand').toggleClass('js-hidden');
$j('#' + this.id).toggleClass('open');
});
});
\ No newline at end of file
......@@ -69,7 +69,7 @@ $pagination = build_pagination(array(
$createviewform = pieform(create_view_form());
$smarty = smarty(array('jquery', 'myviews'));
$smarty = smarty();
$smarty->assign('views', $data->data);
$smarty->assign('pagination', $pagination['html']);
$smarty->assign('PAGEHEADING', TITLE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment