Commit 434271d200e0a2940d6392cda44f59088f836004
1 parent
082c0091
Home_Controller_orig_file
Showing
1 changed file
with
6 additions
and
8 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js.orig
... | ... | @@ -195,13 +195,8 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", |
195 | 195 | $(".btn-annotation-rectangle").addClass("activebtncolor"); |
196 | 196 | } |
197 | 197 | $rootScope.paintBrush = function () { |
198 | -<<<<<<< HEAD | |
199 | 198 | // debugger; |
200 | 199 | // $('.btnCursor').addClass('activebtncolor'); |
201 | -======= | |
202 | - | |
203 | - $('.btnCursor').addClass('activebtncolor'); | |
204 | ->>>>>>> db0b2ac40dc61ee08fb471800773516967978732 | |
205 | 200 | $rootScope.switchCanvasToPaintCanvas(); |
206 | 201 | $rootScope.shapeType = "FreeStylePaint"; |
207 | 202 | var a = $("#amount-2").val(); |
... | ... | @@ -304,6 +299,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", |
304 | 299 | $rootScope.shapestyle = function (id) { |
305 | 300 | |
306 | 301 | document.getElementById('modelbackground').style.display = "none"; |
302 | + document.getElementById('modeleditstyle').style.display = "none"; | |
307 | 303 | |
308 | 304 | $rootScope.shapestyleOpacity = $("#" + id).css('opacity'); |
309 | 305 | $rootScope.shapestyleFillColor = $("#" + id).parent().css('background-color'); |
... | ... | @@ -325,20 +321,22 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", |
325 | 321 | |
326 | 322 | |
327 | 323 | ======= |
328 | - $('#editshapestyle').modal('hide'); | |
329 | ->>>>>>> db0b2ac40dc61ee08fb471800773516967978732 | |
324 | + // $('#editshapestyle').modal('hide'); | |
325 | +>>>>>>> 5bc4a80b843ca0ce3ce2fcff6378527e0aa407d7 | |
330 | 326 | } |
331 | 327 | |
332 | 328 | $rootScope.enableAnnotationToolBar = function () { |
333 | 329 | |
334 | 330 | document.getElementById('modelbackground').style.display = "block"; |
335 | - $("#editshapestyle").modal('show'); | |
331 | + // $("#editshapestyle").modal('show'); | |
332 | + document.getElementById('modeleditstyle').style.display = "block"; | |
336 | 333 | |
337 | 334 | } |
338 | 335 | |
339 | 336 | $rootScope.disableAnnotationToolBar = function () { |
340 | 337 | |
341 | 338 | document.getElementById('modelbackground').style.display = "none"; |
339 | + document.getElementById('modeleditstyle').style.display = "none"; | |
342 | 340 | |
343 | 341 | } |
344 | 342 | ... | ... |