Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

LPS-27829 - Source formatting

  • Loading branch information...
commit 39262e49b8ee476e10b1fc87e80c23920fa614cb 1 parent 34b9c45
@natecavanaugh natecavanaugh authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 portlets/opensocial-portlet/docroot/gadget/js/main.js
View
10 portlets/opensocial-portlet/docroot/gadget/js/main.js
@@ -555,8 +555,8 @@ AUI.add(
prototype: {
savePrefs: function(gadget) {
var instance = this;
-
- var result = Liferay.Service(
+
+ Liferay.Service(
'/expandovalue/add-value',
{
companyId: themeDisplay.getCompanyId(),
@@ -567,8 +567,6 @@ AUI.add(
data: A.JSON.stringify(gadget.get('userPrefs'))
}
);
-
- return result;
},
_CLASS_NAME: 'com.liferay.portal.model.Layout',
@@ -838,7 +836,7 @@ AUI.add(
gadgets.rpc.register(
'set_pref',
- function(editToken, name, value) {
+ function(editToken, name, value) {
var gadget = Gadget.get(this.f);
if (gadget) {
@@ -866,6 +864,6 @@ AUI.add(
},
'',
{
- requires: ['aui-base', 'aui-io', 'cookie', 'json', 'liferay-portlet-url', 'liferay-service', 'querystring']
+ requires: ['aui-base', 'aui-io', 'cookie', 'json', 'liferay-portlet-url', 'querystring']
}
);
Please sign in to comment.
Something went wrong with that request. Please try again.