Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#21331 closed defect (not_a_bug)

save and apply button is not working

Reported by: anonymous Owned by:
Priority: high Milestone:
Component: luci Version: Chaos Calmer 15.05
Keywords: Cc:


As i installed the luci2,there are some functions missing and one of that is save & apply button.So i am trying to develop that functionality.So can someone give me some hints so that it will be helpful for me to do that.And i am keeping the save function as reference from the file cbi.js

save: function()
        var self = this;

	if (self.options.readonly)
	return L.deferrable();

	var deferreds = [ ];

	for (var i = 0; i < self.sections.length; i++)
		var rv = self.sections[i].save();
		deferreds.push.apply(deferreds, rv);

	return $.when.apply($, deferreds).then(function() {
	return L.deferrable(;

Any help is appreciated.Thanks in advance.

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by jow

  • Resolution set to not_a_bug
  • Status changed from new to closed

Please do not use the ticket tracker for development support questions.

comment:2 Changed 2 years ago by anonymous

Can u tell me where and whom should i ask development related question?

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.