contracted popover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//choose the button by id to add "Add type popover" with need parameters | |
$('#addAccType').addTypePopover({ | |
//popover header | |
popOverHeader: 'Add Type', | |
//this is the input form id from which new type name is taken | |
popOverFormInputId: 'NewType', | |
//this is the input form name from which new type name is taken | |
popOverFormInputName: 'NewType', | |
//if needed | |
addButtonId: "newTypeBtn", | |
//which selectbox should be replaced with new type | |
targetSelectBoxID: 'typeSelect', | |
//your rID | |
rID: 'AddNewType' | |
//it's url get parameter name through which type name is passed | |
newUrlParam: 'Group' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment