Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Professional AngularJS
|
BOOK: Professional AngularJS
This is the forum to discuss the Wrox book Professional AngularJS by Valeri Karpov, Diego Netto; ISBN: 978-1-118-83207-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional AngularJS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 29th, 2016, 02:15 PM
PuX PuX is offline
Registered User
 
Join Date: Jan 2016
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default solution for adding new stocks and displaying modal

I think I figured it out, the bug was related to the newStock being an ngResource.

in watchlist controller newStock is converted to a regular JSON object. this prevents angular from adding it as an angular $resource, which breaks ng-repeat in the stock-table template. in addstock-modal ng-options is replaced with bs-options (changes in angular strap).

check it out:
https://github.com/WiHHi-Z3-PuX/stock-dog

it works in chrome, just like the original. in firefox it still does not work fully. I wish it did, but I haven't found a solution yet. please write here if you did.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Modal Popup Extender - not modal? jenbuh ASP.NET 3.5 Professionals 5 July 27th, 2009 07:04 PM
MsgBox not Modal? tknnguyen Visual Basic 2008 Professionals 3 February 18th, 2009 11:55 AM
Subform not displaying values after adding updates jlangdon Access 1 April 23rd, 2008 03:00 PM
Displaying modal dialog from server code gp_mk HTML Code Clinic 16 July 1st, 2007 07:55 AM
modal window pablens Classic ASP Professional 3 December 28th, 2004 05:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.