0

请告诉我如何使用不会更改源actions.deleteAction的功能更改设置? 提前致谢!deleteConfirmation

$('#pages-table').jtable({
    title: 'Birds',
    paging: true,
    pageSize: 15, 
    sorting: true, 
    defaultSorting: 'name ASC',
    selecting: true,
    multiselect: true,
    selectingCheckboxes: true,
    selectOnRowClick: false,
    actions: {
        listAction: '/aima-admin/?plugin=pages&ajax=yes&action=jtable&jtable=list&catid=1&lang=en',
        deleteAction: '/aima-admin/?plugin=pages&ajax=yes&action=jtable&jtable=delete'
    },
    deleteConfirmation: function(data) {
        data.deleteConfirmMessage = '<p>Удалить</p><input type="radio" value="page" name="delPage">Страницу <input type="radio" value="translate" name="delPage">Перевод';
    },

获取找到的源代码的scoop函数_setOption。它的想法应该是建立这样一个选项。但是还没想好怎么用。任何人都可以体验到这一点吗?

4

0 回答 0