Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create function MUI.sendContentToPartner() (called in MUI.Menu) #101

Open
partikule opened this issue Apr 13, 2011 · 1 comment
Open

Create function MUI.sendContentToPartner() (called in MUI.Menu) #101

partikule opened this issue Apr 13, 2011 · 1 comment

Comments

@partikule
Copy link

I have a menu with items which call an URL which should update the mainPanel.

In menus.js->_buildItems() I saw that :

else if (item.partner) a.addEvent('click', MUI.sendContentToPartner(this, url, partner, partnerMethod));

but the method sendContentToPartner() doesn't exists for the moment.

I temporary hacked with that :

        else if (item.partner){ 

            a.store('url', url);
            a.store('partner', item.partner);
            a.addEvent('click', function()
            {
                MUI.Content.update({url:this.retrieve('url'), element:this.retrieve('partner')});
            });
        }

Another question, nothing to do with this : Do you plan to open a forum to discuss about implementation ?
I'm using the previous version of Mocha since years for the Ionize project (https://github.com/ionize/ionize), but this new version is a bit disturbing.
A community with whom to share example would be nice !

@cdotyone
Copy link
Owner

cdotyone commented May 2, 2011

I am not going to make everyone happy with the next version. There are some fundamental differences. It has major version # change for a reason. There will be breaking changes. I do plan on building a roadmap on how to upgrade to it. A forum is a good idea, but I am not ready yet for people to convert to it. Probably will use the google group for that, because that is where the discussions have been in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants