Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4210D174DF for ; Thu, 16 Apr 2015 21:50:36 +0000 (UTC) Received: (qmail 91560 invoked by uid 500); 16 Apr 2015 21:50:33 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 91501 invoked by uid 500); 16 Apr 2015 21:50:33 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 91448 invoked by uid 99); 16 Apr 2015 21:50:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2015 21:50:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5B833E10A9; Thu, 16 Apr 2015 21:50:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: purplecabbage@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cordova-plugin-camera git commit: CB-8405 Use z-index instead of z-order Date: Thu, 16 Apr 2015 21:50:33 +0000 (UTC) Repository: cordova-plugin-camera Updated Branches: refs/heads/master b67e4a09e -> fb8ce2171 CB-8405 Use z-index instead of z-order Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/fb8ce217 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/fb8ce217 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/fb8ce217 Branch: refs/heads/master Commit: fb8ce21711def54779fc4f52643f5621b3f9fff6 Parents: b67e4a0 Author: Murat Sutunc Authored: Thu Apr 16 12:44:29 2015 -0700 Committer: Murat Sutunc Committed: Thu Apr 16 12:44:29 2015 -0700 ---------------------------------------------------------------------- src/windows/CameraProxy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/fb8ce217/src/windows/CameraProxy.js ---------------------------------------------------------------------- diff --git a/src/windows/CameraProxy.js b/src/windows/CameraProxy.js index 3d4d24b..dea33c9 100644 --- a/src/windows/CameraProxy.js +++ b/src/windows/CameraProxy.js @@ -221,12 +221,12 @@ function takePictureFromCameraWP(successCallback, errorCallback, args) { // z-order style element for capturePreview and captureCancelButton elts // is necessary to avoid overriding by another page elements, -1 sometimes is not enough - capturePreview.style.cssText = "position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-order: 999"; + capturePreview.style.cssText = "position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999"; // Create cancel button captureCancelButton = document.createElement("button"); captureCancelButton.innerText = "Cancel"; - captureCancelButton.style.cssText = "position: fixed; right: 0; bottom: 0; display: block; margin: 20px; z-order: 1000"; + captureCancelButton.style.cssText = "position: fixed; right: 0; bottom: 0; display: block; margin: 20px; z-index: 1000"; capture = new CaptureNS.MediaCapture(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org