Mercurial > hg > dml-open-vis
annotate src/DML/MainVisBundle/Resources/assets/marionette/modules/MainRegionModule/MainRegionModule.10-ConfigGridChildView.js @ 1:f38015048f48 tip
Added GPL
author | Daniel Wolff |
---|---|
date | Sat, 13 Feb 2016 20:43:38 +0100 |
parents | 493bcb69166c |
children |
rev | line source |
---|---|
Daniel@0 | 1 "use strict"; |
Daniel@0 | 2 |
Daniel@0 | 3 App.module("MainRegionModule", function (MainRegionModule, App, Backbone, Marionette, $, _, Logger) { |
Daniel@0 | 4 |
Daniel@0 | 5 MainRegionModule.ConfigGridChildView = Backbone.View.extend({ |
Daniel@0 | 6 |
Daniel@0 | 7 renderIfParentConfigGridIsVisible: function() { |
Daniel@0 | 8 if (this.options.parentConfigGridView.isVisible()) { |
Daniel@0 | 9 this.render(); |
Daniel@0 | 10 } |
Daniel@0 | 11 }, |
Daniel@0 | 12 |
Daniel@0 | 13 }); |
Daniel@0 | 14 }, Logger); |