Fixed bug in block modules
This commit is contained in:
parent
0b987f0f57
commit
5655772ff7
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ frappe.pages['modules_setup'].on_page_load = function(wrapper) {
|
|||
// save action
|
||||
page.set_primary_action('Save', function() {
|
||||
var hidden_list = [];
|
||||
page.content.find('input[type="checkbox"]').each(function() {
|
||||
if(!$(this).is(':checked')) {
|
||||
page.wrapper.find('input[type="checkbox"]').each(function() {
|
||||
if(!$(this).is(":checked")) {
|
||||
hidden_list.push($(this).attr('data-module'));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue