From bec884688981f69f84f1567bafad6195e3fcf1b8 Mon Sep 17 00:00:00 2001 From: "kochi@chromium.org" Date: Mon, 20 Dec 2010 08:25:41 +0000 Subject: Disable 'create shortcut' in newtab apps pulldown menu. BUG=chromium-os:10364 TEST=manually check if pulldown menu of apps on newtab page doesn't have 'create shortcut' menu. Review URL: http://codereview.chromium.org/6057002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69699 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/ntp/apps.js | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/resources/ntp') diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js index 2be85fa..eef4fa2 100644 --- a/chrome/browser/resources/ntp/apps.js +++ b/chrome/browser/resources/ntp/apps.js @@ -35,6 +35,7 @@ function getAppsCallback(data) { // The "Create App Shortcut" menu option. $('apps-create-shortcut-command-menu-item').style.display = + $('apps-create-shortcut-command-separator').style.display = (data.disableCreateAppShortcut ? 'none' : 'inline'); appsMiniview.textContent = ''; -- cgit v1.1