Sha256: 000b8b57621552be8d5c12853b99dbce32904851d3df42acd1e73c23c8144b70

Contents?: true

Size: 975 Bytes

Versions: 4

Compression:

Stored size: 975 Bytes

Contents

// WontoMedia - a wontology web application
// Copyright (C) 2011 - Glen E. Ivey
//    www.wontology.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License version
// 3 as published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program in the file COPYING and/or LICENSE.  If not,
// see <http://www.gnu.org/licenses/>.


function selectOnfocusHandler(ctrl){
  ctrl.lastValue = ctrl.value;
}

function selectOnchangeHandler(ctrl, class_item_name){
  if (ctrl.value == "-1"){
    itemCreatePopup(ctrl, ctrl.lastValue, null, class_item_name);
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wontomedia-1.0.7 public/javascripts/forItemsShow.js
wontomedia-1.0.6 public/javascripts/forItemsShow.js
wontomedia-1.0.5 public/javascripts/forItemsShow.js
wontomedia-1.0.4 public/javascripts/forItemsShow.js