• Nicolas Dumazet's avatar
    2010-08-18 · 07d5634a
    Nicolas Dumazet authored
    * Refactor/simplify in order to extend jQuery with a erp5_popup function that can be re-used in other scripts/projects.
    
    
    
    In this way anyone who has loaded the .js can invoke a popup:
    
    myelement.erp5_popup({
    dialog: { // usual jquery.ui.dialog parameters here
    title: "a popup to make UI snappier",
    },
    load: { // specify what url should be loaded inside the popup
    url: "/erp5/my_module",
    params: ....,
    },
    }
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37875 20353a03-c40f-0410-a6d1-a30d3c3de9de
    07d5634a
revision 2 Bytes