the rpc library should come automatically whit with Feature tag for set pref. no need to include it manually.
On Fri, Oct 2, 2015 at 7:36 PM, Sajith Abeywardhana <[email protected]> wrote: > Hi Sameera, > > On Wed, Sep 30, 2015 at 1:12 PM, Sajith Abeywardhana <[email protected]> > wrote: > >> Please review and merge https://github.com/wso2/carbon-dashboards/pull/53 >> for https://wso2.org/jira/browse/UES-585 >> >> For this we need to have rpc.js as a library. When I was testing it I > directly included it to the index.xml as *<script > src="http://sandbox.ig.gmodules.com/gadgets/js/rpc.js > <http://sandbox.ig.gmodules.com/gadgets/js/rpc.js>"></script>.* But when > you were trying, we didn't include that rpc library. That was the reason > for the conflict. > Now I have changed the designer.js to loads the rpc library along with UI > initialization(This is the time set_pref get registered) and I added rcp.js > to the portal/js/ folder. > Please let me know If you have any concerns. > > *Sajith Abeywardhana* | Software Engineer > WSO2, Inc | lean. enterprise. middleware. > #20, Palm Grove, Colombo 03, Sri Lanka. > Mobile: +94772260485 > Email: [email protected] | Web: www.wso2.com > > > > >> >> *Sajith Abeywardhana* | Software Engineer >> WSO2, Inc | lean. enterprise. middleware. >> #20, Palm Grove, Colombo 03, Sri Lanka. >> Mobile: +94772260485 >> Email: [email protected] | Web: www.wso2.com >> > > -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
