Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#review-accordion").addClass("ui-accordion")
- .find("h3")
- .addClass("ui-corner-top ui-corner-bottom")
- .click(
- function()
- {
- if($(this).find("b").text() == "+")
- $(this).find("b").text("-");
- else
- $(this).find("b").text("+");
- $(this).next().slideToggle();
- return false;
- })
- .next()
- .addClass("ui-accordion-content ui-helper-reset")
- .hide();
- $(".viewDetailsLink").click(function(e)
- {
- e.preventDefault();
- var data = $(this).attr("data");
- $(this).ajaxCall('backoffice.getMemberDetails', 'memberID=' + $(this).attr('memberID'));
- $("#viewDetailsDialog").dialog(
- {
- close: function(event, ui) {$("#viewDetailsDialog").html('');},
- height: 310,
- show: "blind",
- hide: "explode",
- modal: true,
- width: 500,
- buttons: {"Close": function(){$(this).dialog("close");},}
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement