[Common UI] Use mct-split-pane in Browse

WTD-1363.
This commit is contained in:
Victor Woeltjen
2015-06-26 16:21:20 -07:00
parent 0ee76421e0
commit 39372ea9ca
3 changed files with 26 additions and 29 deletions

View File

@@ -27,7 +27,7 @@ define(
'use strict';
// Pixel width to allocate for the splitter itself
var SPLITTER_TEMPLATE = "<div class=\"splitter\" " +
var SPLITTER_TEMPLATE = "<div class='abs'" +
"mct-drag-down=\"splitter.startMove()\" " +
"mct-drag=\"splitter.move(delta)\"></div>",
OFFSETS_BY_EDGE = {
@@ -45,6 +45,8 @@ define(
function link(scope, element, attrs, mctSplitPane) {
var initialPosition;
element.addClass("splitter");
scope.splitter = {
// Begin moving this splitter
startMove: function () {