Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var $dialog_remove = $("#dialog-remove").dialog({
- autoOpen: false,
- modal: true,
- resizable: false,
- buttons: {
- "Yes": function(){
- //var index = $("li", $navigation).index($(this).parent());
- console.log($navigation);
- console.log(index);
- //$navigation.tabs("remove", index);
- //$(this).dialog("close");
- },
- "No": function() {
- $(this).dialog("close");
- }
- }
- });
- $("#navigation span.ui-icon-close").live("click", function(){
- var index = $("li", $navigation).index($(this).parent());
- //console.log(index);
- $dialog_remove.dialog("open");
- });
Add Comment
Please, Sign In to add comment